.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan
Post New Web Links

Visual Studio 2010 Issue

Posted By:      Posted Date: October 14, 2010    Points: 0   Category :Windows Application
 
Hi All,
I installed VS 2010 on my Win XP SP3 machine and tried the following.
1. Created a C# Dll project
2. Compiled and it works fine
3. Added a resx file to the project and added a few images to it
4. Compiled and now it gives the following error:
Looks like this is a CAS policy error and I tried the following:
1. Added the following to devenv.exe.config, Machine.config

2. Added the following under the first property group in the Project file.
<PropertyGroup>
    <GenerateResourceNeverLockTypeAssemblies>true</GenerateResourceNeverLockTypeAssemblies>
</ProjectGroup>

But still no help.
Is it problem with my VS installation?
I already repaired it once.

Please update if you have a solution..


Thanks!


--------------------------Compile Error-----------------------------
The "GenerateResource" task failed unexpectedly.
System.InvalidOperationException: The security state of an AppDomain was modified by an AppDomainManager configured with the NoSecurityChanges flag.
   at System.AppDomain.SetupDomainSecurity(AppDomainHandle appDomain, ObjectHandleOnStack appDomainEvidence, IntPtr creatorsSecurityDescriptor, Boolean publishAppDomain)
   at System.AppDomain.InitializeDomain


View Complete Post


More Related Resource Links

CLR Deployment issue sql server 2008 r2 visual studio 2010

  

hi

 i am getting the following error while deploying the clr project converted frm vs2008 to vs2010. Please help me

 

Compile complete -- 0 errors, 24 warnings

Bloomberg_WSDL -> D:\Projects\STP\Development\BBG-WSDL\SS-BBG-WSDL\bin\Release\Bloomberg_WSDL.dll

------ Deploy started: Project: Bloomberg_WSDL, Configuration: Release Any CPU ------

Build started 11/22/2010 7:07:50 PM.

SqlClrDeploy:

Beginning deployment of assembly Bloomberg_WSDL.dll to server 10.1.0.207 : stpQA01

C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamData\Microsoft.Data.Schema.SqlClr.targets(96,5): error : Could not connect to server 10.1.0.207 stpQA01 : Login failed for user 'stpuser'.

Build FAILED.

Time Elapsed 00:00:00.07

========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========


VMSSanthosh
VMSSanthosh

ASP.NET 4 and Visual Studio 2010 Web Development Beta 2 Overview

  
Many exciting changes for ASP.NET are coming in the .NET Framework version 4. This document gives an overview of many of the new features that are included in the Beta 2 release of the .NET Framework 4 and of Visual Studio 2010.

Visual Studio 2010 Beta 2

  
This is a big deal. This isn't ".NET 3.6" - there are a lot of improvements of .NET 4, and it's not just "pile on a bunch of features so you get overwhelmed." I've been working with and talking to many of the teams involved and even though it's a cheesy thing to say, this is a really customer-focused release.

ASP 4 - Whirlwind Tour around .NET 4 (and Visual Studio 2010) Beta 1

  
There's a lot of stuff that's new and added in .NET 4, but not in that "overwhelming-I-need-to-relearn-everything" way. More in that, "oh, this is way easier/simpler now" way. Like, moving data around with ADO.NET DataServices is easy, binding with client templates is easy, there's F# if you need it, the "dynamic" keyword if you need it, Silverlight's already installed, oh, and the parallel stuff will freak you out, but in a good way.

Short Overview of SharePoint Features in Visual Studio 2010

  
As you probably know, Visual Studio 2010 was announced earlier this week and it contains a lot of cool features and project templates for SharePoint developers. Below is a short overview for some of the SharePoint development related features and project templates.

Code spelling checker extension for visual studio 2010

  
Building a spelling checker for source code as an extension for visual studio 2010.

is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site p

  

is it possible to convert whole visual studio 2008 web site project to visual studio 2010 web site project

 

my current project references

 

 

 

i have a very annoying iis problem

iis server stops working until app pool is recycled

 

i am hoping that new visual studio (net framework 4.0) may solve this very annoying unsolveable problem

 


About Dynamic Data in Visual Studio 2010 / .NET 4

  

Ref.http://aspnet.codeplex.com/wikipage?title=Dynamic%20Data&referringTitle=Home&ProjectName=aspnet

Does anybody here have any pointers to screencasts, demos, webcasts for the latest enhancements in Dynamic Data as listed in above link? I'm repeating them here for ready reference :

 

  • EnableDynamicData method which enables Dynamic Data features in existing ASP.NET applications and DataSource controls
  • A new QueryExtender control, contained in the sample projects to simplify common data filtering operations. It supports a rich ASP.NET declarative query syntax that makes it easy to do things like search data for text or have filters based on ranges
  • A new Dynamic Data filter model that enables the developers to apply templates to pages just like field templates (including user defined filters)
  • New field templates of Email, URL and Enum columns
  • Support for inheritance in Entity Framework and Linq to SQL
  • Support for many to many relationships in Entity Framework
  • New Entity Templates which allow fine control over how an object is displayed and edited
  • DynamicHyperLink control for building links to tables and actions
  • Declarative support for D

What is F# in Visual Studio 2010

  

what is visual F#. and what is use of F#??


Thread Performance: Resource Contention Concurrency Profiling in Visual Studio 2010

  

Visual Studio 2010 includes new resource contention profiling features that help detect concurrency contention among threads. We walk through a profiling investigation to demonstrate how you can pinpoint and fix resource contention problems in your code.

Maxim Goldin

MSDN Magazine June 2010


Basic Instincts: Multi-Targeting Visual Basic Applications in Visual Studio 2010

  

Visual Studio 2010 lets you create applications that target versions of the Microsoft .NET Framework from 2.0 to 4, and each step in between. We take a look at how multi-targeting works in Visual Studio today, and explain how you should approach multi-targeting in your projects.

Spotty Bowles

MSDN Magazine June 2010


Better Coding: Better Coding with Visual Studio 2010

  

From functional IDE improvements to better support for parallel programming, Visual Studio 2010 comes with a host of new features to help meet the needs of today's demanding, ever-changing development environment. Doug Turnure provides an overview of the more important ones and practical advice on how to use them.

Doug Turnure

MSDN Magazine April 2010


Visual C++: Exploring New C++ and MFC Features Visual Studio 2010

  

Visual Studio 2010 offers huge benefits for C++ developers, from new C++0x features to MSBuild integration to a revived MFC Application Wizard. Join us for a tour of these new Visual C++ features.

Sumit Kumar

MSDN Magazine April 2010


Windows Azure: Developing and Deploying Cloud Apps in Visual Studio 2010

  

You'll find direct support for building Windows Azure applications in Visual Studio 2010 and Visual Web Developer 2010 Express. We'll walk you through using Visual Studio 2010 for the entirety of the Windows Azure application development lifecycle.

Jim Nakashima

MSDN Magazine April 2010


VS 2010: Entity Framework 4.0 and WCF Data Services 4.0 in Visual Studio 2010

  

Elisa Flasko takes you through a sample weblog application to demonstrate how new improvements in Entity Framework and WCF Data Services work together to simplify the way data is modeled, consumed and produced in Visual Studio 2010.

Elisa Flasko

MSDN Magazine April 2010


Editor's Note: Scott Guthrie on Visual Studio 2010

  

The man most responsible for Visual Studio 2010 discusses what developers have to look forward to.

Keith Ward

MSDN Magazine April 2010


Thread Diagnostics: Performance Tuning with The Concurrency Visualizer in Visual Studio 2010

  

Understanding performance bottlenecks in multithreaded apps used to require significant instrumentation and analysis by expert developers. The Concurrency Visualizer in Visual Studio 2010 significantly reduces the burden of parallel performance analysis.

Hazim Shafi

MSDN Magazine March 2010


Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend