Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

Commented Issue: Build Fails - SkipStrongNames Reports Conflicted Setting [950]

$
0
0
I clone the repo, build it according to instructions, and get the following error:

> Unit tests will not run correctly unless SkipStrongNames is Enabled.
> Current status: Disabled.
> Run 'build /t:EnableSkipStrongNames' to fix the problem.

I build the EnableSkipStrongNames target and get this strange error

> Skip Strong Names is already enabled.
> SkipStrongNames: Disabled

I've attached the output of ```build /v:n /t:EnableSkipStrongNames``` and ```build /v:n``` to this issue.

__Steps to Reproduce - Attempt 1__
1. Open "VS2012 x86 Native Tools Command Prompt"
1. Run git clone https://git01.codeplex.com/entityframework
1. Clear my .NuGet cache at ```%LocalAppData%\NuGet\Cache```
1. Run ```build /t:RestorePackages```
1. Run ```build /t:EnableSkipStrongNames```
1. Run ```build```

__Steps to Reproduce - Attempt 2__
1. Open "VS2012 x86 Native Tools Command Prompt"
1. Run git clone https://git01.codeplex.com/entityframework
1. Clear my .NuGet cache at ```%LocalAppData%\NuGet\Cache```
1. Run ```build /t:RestorePackages```
1. Run ```build```

__Machine Information__
* Windows 7 64-bit
* Installed Microsoft Visual Studio Versions
* 2010 Ultimate
* 2012 Ultimate
* Entries in HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP
* CDF
* v2.0.50727
* v3.0
* v3.5
* v4
* v4.0
Comments: I think I have solved my problem. My identity did not have elevated privileges on the computer. I elevated the privileges and re-ran the script to enable SkipStrongNames. That seems to have fixed it. The unit tests now run (and fail because I don't have the databases set up for them). Perhaps someone can add a small blurb on the [Getting and Building Code](http://entityframework.codeplex.com/documentation) page specifying that the user account running the build process must have rights to write to the registry HKLM tree for the SkipStrongNames to enable correctly... You can close this issue.

Viewing all articles
Browse latest Browse all 10318

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>