i was wondering if visual studio 2010 can be used as an assembly editor too????if yes where do i have to go to create a first blank page for an assembly project??ÃÂ
View Complete Post
I'm trying to use the WCF Service Configuration Editor (SvcConfigEditor.exe) to setup my endpoints for a WCF service...When I try to chose an assemblly in the editor (to setup the data contract) I get this error:"This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded."
My assemblies are built on the .Net framework 4.0... So I though that maybe i had a old version of this tool...and that it only recongnized .Net 3.5 assemblies...So, I download the latest Windows windows SDK (Microsoft Windows SDK for Windows 7 and .NET Framework 4) and when I run the tool, I get the same error.....Any ideas on what is causing this error, and how to overcome it?(As an aside, why isn't the WCF Service Configuration Editor lauchable directly from Solution Explorer, by right cliking the Web.config file in an WCF Service Application Project.... It does for App.Config files in other WCF projects... this appears like an oversight by Microsoft...)Thanks,- Andy
When inserting a simple embed of youtube inside the ajax editor, on firefox and chrome problems occur. On the other hand on internet explorer 8 everything works fine. I found this solution http://www.nopcommerce.com/boards/t/4228/bug-in-ajax-html-editor.aspx .
My question is where do I find the DesignPanel.pre.js ?
I format lines in a .aspx file (source view) the way I can use them, and if I switch to design view or view in browser or debug, the many lines get reformatted to flow all onto one line.
I can't seem to find the correct setting to keep this from happening.
Hi! Can someone tell me how I can troubleshoot the
following error: "Encountered multiple versions of the same assembly
with GUID...try pre-importing one of these assemblies".
The website developed in VS 2010 (.Net 3.5). This error is only received on my
workstation. Another person developing the site does not experience
this issue at all. Also, not sure if this matters, but on my workstation the 'Assembly
Information...' dialog contains no values even though the 'AssemblyInfo.vb' file does specify values for the title, desc, etc.
The GUID being referenced in the error is the main project of the three projects
within the solution.
I tried looking through the GAC, but do not see any references to the projects or DLLs in the VS solution and am not sure what else/where to look.
If I delete the copy of the solution on my local machine and pull down a copy from source control (AnkhSVN) the solution will build with no error. Once I make any changes, such as adding a new aspx file, then the error is received.
I can provide any additional information needed.
This is frustrating, and I don't know how to solve it.
I have a strange problem. I am adding a LinqDatasource object, and set the context:
protected void LinqDataSource_ContextCreating(object sender, LinqDataSourceContextEventArgs e)
e.ObjectInstance = new KaruselaDataContext(ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString);
Then I get this error:The type 'System.Data.Linq.DataContext' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Data.Linq, Version=22.214.171.124, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
On web.config I already have this:<add assembly="System.Data.Linq, Version=126.96.36.199, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
NOTE: The datacontext is in a different project (DLL proect) where I added a refernce to System.Data.Linq.
is there another way adding a refernce to a web project? or only though teh web.config?
I added refernece MySql.Data to my project. My web.config looks like that:
<?xml version="1.0"?><configuration> <connectionStrings> </connectionStrings> <system.web> <compilation> <assemblies> <add assembly="MySql.Data, Version=188.8.131.52, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/> </assemblies> </compilation></system.web></configuration>
But when in ServerExplorer I try "Add Connection..." I can't find "MySql Database" in the "Choose Data Source" dialog box?
What the problem can be?
I have created a simple ASP.net Web Application (2.0) and have added a web user control.
Now in my page I have added this control but I have registered like this,
<%@ Register Assembly="WebApplication1" Namespace="WebApplication1" TagPrefix="Custom" %>
Which means I want to access all the controls in my current Web Application project
Then I have added my user control like this,
<Custom:MyUserControl ID="MyUserControl1" runat="server" PublicProperty="Hello" />
Every thing is fine but when I execute the project, NO control on my user control gets "instantiated" and thus I receive error "Object Reference Not Set"
Note that My Control has,
1) Public property PublicProperty as String
2) 1 Label control
In Load Event Handler I am setting Text property of Label Control to PublicProperty. Here object reference NOT set error occurs (which means Label control is NOT initialized).
I don't want to register my control using Src, TagPrefix etc. Any ideas?
I have the following projects in a solution :
- A Web Application
- A Class Library
- A Web Deployment project
The Web Application compiles and run fine when I don't go through the Web Deployment Project. However when I try to use that, I get the following error:
"An error occurred creating the configuration section handler for hibernate-configuration: Could not load file or assembly 'NHibernate' or one of its dependencies. The system cannot find the file specified. (F:\Folke\Folke.csproj_deploy\Release\web.config line 4)"
This is the beginning of my Web.config:
<? Editor's Note: Does Your Program Smell Like Bacon? When building your program, are you content with "good enough"? If so, your expectations are fatally low.Keith WardMSDN Magazine August 2010
When building your program, are you content with "good enough"? If so, your expectations are fatally low.
MSDN Magazine August 2010
Are we teaching computer science graduates the right things to prepare them for the world of real work? If not, how do we fix it?
MSDN Magazine July 2010
Help us help you, by sending your feedback on various topics.
MSDN Magazine June 2010
It wasn't all that long ago that surfing meant grabbing a board and hanging 10.
MSDN Magazine May 2010
The man most responsible for Visual Studio 2010 discusses what developers have to look forward to.
MSDN Magazine April 2010
The worst is over for technology job-seekers, says Dice.com executive.
MSDN Magazine March 2010
The CLR security model in the Microsoft .NET Framework 4 has undergone some substantial changes, including the adoption of "Level2" transparency, similar to the Silverlight security model. Mike Rousos provides an in-depth explanation of how that will likely impact authors of AllowPartiallyTrustedCallers (APTCA) libraries.
Changes are coming to MSDN Magazine. They begin this month, with the unveiling of a number of new, monthly columns.
MSDN Magazine February 2010