caspol

Legacy Security Policy in Visual Studio 2010 and COM References

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 10:05:44
I have a project using DevExpress 8.3 (2008.3) which I just recently upgraded to use VS 2010. After doing so, everything compiled fine but I got errors trying to use the designer. I resolved this as described here: NetFx40_LegacySecurityPolicy in design-time mode by adding <NetFx40_LegacySecurityPolicy enabled="true"/> to my devenv.exe.config. Designer works fine now, but some of the projects in the solution which have COM references no longer compile, with the exception: The "ResolveComReference" task could not be instantiated from "Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral

Run c# .NET Program from network share

微笑、不失礼 提交于 2019-12-01 18:18:51
got a interesting problem. I placed a c# .net .exe file on a network share. If i try to Start->Run: \\hostname\test.exe my software starts properly and everything is working. We also have a DNS Alias set for this computer, so if I try to run my program by: Start->Run: \\mydnsalias\test.exe My programm will cause an error message: " test has encountered a problem and needs to close... " On client .net 2.0, 3.0, 3.5sp1 is installed. There is a full trust caspol for the network share (set with dnsalias). Caspol "tweaks" are a bit of a pain to deploy robustly. IMO, the best way to run an exe off

Run c# .NET Program from network share

房东的猫 提交于 2019-12-01 17:54:16
问题 got a interesting problem. I placed a c# .net .exe file on a network share. If i try to Start->Run: \\hostname\test.exe my software starts properly and everything is working. We also have a DNS Alias set for this computer, so if I try to run my program by: Start->Run: \\mydnsalias\test.exe My programm will cause an error message: " test has encountered a problem and needs to close... " On client .net 2.0, 3.0, 3.5sp1 is installed. There is a full trust caspol for the network share (set with