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:

  1. upgrading visual studio 2015 update 3
  2. uninstalling preview / rc bits of .net core , tooling
  3. 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":

  1. microsoft .net core 1.0.0 - sdk preview 2 (x64)
  2. microsoft .net core 1.0.0 - vs 2015 tooling preview 2

i have installed, seems have been installed above bits:

  1. 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&#x000d;&#x000a;</description> <description>legacysitepackage failed package [dnx project system]source: &apos;system.componentmodel.composition&apos; description: no exports found match constraint: &#x000a;&#x0009;contractname&#x0009;microsoft.visualstudio.web.projectsystem.telemetry.itelemetryprovider&#x000a;&#x0009;requiredtypeidentity&#x0009;microsoft.visualstudio.web.projectsystem.telemetry.itelemetryprovider&#x000d;&#x000a;</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:

  1. modifying visual studio 2015 installation , unchecking microsoft web developer tools
  2. deleting c:\program files (x86)\microsoft visual studio 14.0\common7\ide\extensions\microsoft\web tools\dnx folder left previous version of tools.
  3. deleting %localappdata%\microsoft\visualstudio\14.0\componentmodelcache
  4. deleting %localappdata%\microsoft\visualstudio\14.0\devenv.exe.config
  5. running repair on preview2 tooling.

Comments

Popular posts from this blog

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -