Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

CompileXaml" task could not be instantiated

$
0
0
I created a a silverlight application. While creating i got an error box saying "The security state of an AppDomain was modified by an AppDomainManager configured with the NoSecurityChanges flag". I Ignored and created the app. When building the application i get error  saying "Error1The "CompileXaml" task could not be instantiated from "C:\Program Files\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.Build.Tasks.dll". The security state of an AppDomain was modified by an AppDomainManager configured with the NoSecurityChanges flag." and "Error2The "CompileXaml" task has been declared or used incorrectly, or failed during construction. Check the spelling of the task name and the assembly name.". I surfed a bit and tried all the related options such as setting NetFx40_LegacySecurityPolicy enabled="true" in devenv.exe.config . Nothing worked out. Please someone help regarding this.

Viewing all articles
Browse latest Browse all 4410

Trending Articles



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