visual studio 2015 - After installing .NET Core 1.0 with VS2015 tooling (preview), I am unable to create .NET core class library projects -
i error message when try add .net core class library solution:
error: template attempted load component assembly 'microsoft.visualstudio.projectsystem.dotnet.wizard, version=14.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a'. more information on problem , how enable template, please see documentation on customizing project templates.
an empty folder created on disk nothing added solution.
my initial process consisted of:
- upgrading visual studio 2015 update 3
- uninstalling preview / rc bits of .net core , tooling
- downloading , installing release version of .net core preview tooling
i have tried following after getting error:
- uninstalling , reinstalling .net core
- repairing .net core installation
- uninstalling , reinstalling visual studio 2015 professional w/update 3
- and uninstalling , reinstalling , repairing .net core yet again afterwards measure
- executing
devenv /setup
administrator
i shut down , restart after each step well, no dice.
what else can try? had preview bits of .net core on machine earlier according installation instructions should enough uninstall them before installing release files, did.
is there log file somewhere may contain information why assembly fail load?
i have 2 elements in uninstall programs list match "core":
- microsoft .net core 1.0.0 - sdk preview 2 (x64)
- microsoft .net core 1.0.0 - vs 2015 tooling preview 2
i have installed, seems have been installed above bits:
- microsoft .net version manager (x64) 1.0.0-rc1
these 3 elements dated installed today. think preview , rc1 parts of name comes fact runtime released final tooling still in preview.
i got installation files here - http://dot.net/core - seems me should've installed right bits.
there no updates lingering under visual studio extensions , updates.
update 1: did full repair, changed nothing.
i tried use command line tool, dotnet
, create project , worked fine, dotnet new
dotnet run
executed , expected results.
i tried copying project.json
file subdirectory of existing solution, edited remove entry point bit , tried manually add project in vs2015, , got this:
the 'dnx project system' package did not load correctly.
problem may have been caused configuration change or installation of extension. can more information examining file 'c:\users\lasse\appdata\roaming\microsoft\visualstudio\14.0\activitylog.xml'.
restarting visual studio resolve issue.
the activity log refers can found on public dropbox (renamed .txt extension) here: activitylog.xml (.txt).
extracts file may interesting are:
<description>performance warning: string load failed. pkg:{98f77210-a364-4168-bae6-4d46fa7e19fe} (dnx project system) lang:0409 id:5011
</description> <description>legacysitepackage failed package [dnx project system]source: 'system.componentmodel.composition' description: no exports found match constraint: 
	contractname	microsoft.visualstudio.web.projectsystem.telemetry.itelemetryprovider
	requiredtypeidentity	microsoft.visualstudio.web.projectsystem.telemetry.itelemetryprovider
</description> <description>setsite failed package [dnx project system](null)</description>
update 2: found webpage detailing same type of problem, during preview period, here:
cannot create asp.net core rc 2 web project in vs 2015. has screenshot of same error message.
one troubleshooting step post help/about content, available on public dropbox here.
update 3: ok, website above mentions devenv.exe.config
missing reference dll in question. checked mine , sure enough missing. did not try manually add yet, opting rerun devenv /setup
i'm noticing not complete.
i renamed config file first, , reran devenv /config, has been running 2.5 minutes , doesn't seem have motivation complete.
update 4: manually editing config file , adding dotnet.wizard package made visual studio able create project, still not able open it, still complaining dnx package.
i try of troubleshooting tips in other forumthread , see if help.
i ran similar issue , able fix by:
- modifying visual studio 2015 installation , unchecking microsoft web developer tools
- deleting
c:\program files (x86)\microsoft visual studio 14.0\common7\ide\extensions\microsoft\web tools\dnx
folder left previous version of tools. - deleting
%localappdata%\microsoft\visualstudio\14.0\componentmodelcache
- deleting
%localappdata%\microsoft\visualstudio\14.0\devenv.exe.config
- running repair on preview2 tooling.
Comments
Post a Comment