I'm using a 64bit dll (system.data.sqlite) in an Asp.net MVC app in VS 2010. The application runs and debugs fine, but all the aspx and ascx pages show errors when editing in Visual Studio 2010 and intellisense doesn't work. This is a VS2010 regression bug. Does anyone have a work around? (OR)Does anyone know of a free, reliable, production ready embeddable database that doesn't cause a 32/64 bit problem?More DetailsApparently this worked in Visual Studio 2008 and this has been is a known regression bug in Visual Studio 2010 for several months. I don't want to revert to VS 2008 and I don't want to debug in 32 bit mode.
I have web application that needs to debug and deploy as a 64 bit mode because it uses uses some unmanaged 64 bit dll's like system.data.sqlite. Also, I prefer debugging in 64 bit mode because it allows us to test some high memory use cases. After a lot of fiddling, Asp.net will deploy and run just fine. However all the aspx and ascx pages show errors and intellisense doesn't work when editing them in Visual Studio 2010. Apparently this worked in Visual Studio 2008 and this has been is a known problem in Visual Studio 2010 for months. I don't want to revert to VS 2008. There was a work around posted on SO here but it didn't work in my tests, limits debugging to 32bit mode, and also feels a bit hacky (I think it only works for VS Express style websites). Has anyone made this work in a web application or have a better work around?For those who are interested Visual Studio 2010 has two other problems with 64bit dlls that I have managed to work around.
Problem 1 - Cassini: Cassini can only debug in 32 bit modeSolution 1 - CassiniDev or Localhost: Debug using localhost or compile CassiniDev (an opensoure variant of cassini) in 64bit mode. I like the zero config simplicity of debugging a new web app with cassini so I used CassiniDev. You just stick the dlls in C:Program Files (x86)Common Filesmicrosoft sharedDevServer10.0 and it works (I recommended making a backup of the Cassini version you will be over writing).Problem 2 - MSTest: By default unit tests run with MSTest fail to load 64bit dlls.Solution 2 - AnyCPU & 64bit host process Instructions here, set local.testsettings to AnyCPU & 64bit host processI'm starting to think the whole setup is too little hacky and I'm on the verge of giving up and restructuring my application to not use a 64bit dll. I'm also really disappointed that Visual Studio 2010 caused all these problems. Can somebody make MS fix the regression bug they created?
I have added an assembly into GAC in VS 2005, and VS 2008 as well.
Today I have tried the same approach, but I am not getting.
I am not understanding what is the problem, but I am ending up with the following two warnings!
Warning 1 Option 'keyfile' overrides attribute 'System.Reflection.AssemblyKeyFileAttribute' given in a source file or added moduleWarning 2 Use command line option '/keyfile' or appropriate project settings instead of 'AssemblyKeyFile'
I chose the option to create a new ASP.NET Web Application (C#) project using VWD 2010 EXPRESS. Normally I choose the create an empty web site option. Anyways, It seems that everytime I needed to make a change in code behind that I would have to click save, then debug>build for the changes to take effect. This was working fine for three days, now all of a sudden it has stopped working. It doesnt seem to rebuild when I click build...though the output message says it succeeded.
I have even removed entire codeblocks from the codbehind (one that populated a dropdown), yet the drop down is still populated when the page is previewed (I have cleared the browser cache as well!). Also, I have tried to set Label1.text to various values and that does show either, like its not in the code.Is there a bug in VWD, or is there a setting I could have clicked unknowingly? I am gettingsome strange errors as well. For example, I am getting object reference not set to an instance of an object errors and the line it points to is a totally empty line
I'm used to working with VS 2008 and toggling bookmarks in aspx pages was very useful, however in VS 2010 I'm unable to toggle bookmarks using the CTRL + K + K or the actual "Toggle bookmark" button from the bookmarks tool. Is there an option to enable this on the ASPX page, it works everywhere else though.
I am not sure this is the right place to ask.I am using Visual Web Developer 2010 Express, and have loaded an existing project.I have an image folder, and in the folder I have some images (.png)I need to find all of the ASP.NET pages which uses one of this image,but had no luck. There are hundreds of ASPX, ASPX.vb pages to search...IS THERE A WAY TO SEARCH WHICH ASPX or ASPX.VB pages are using a image file?For example,If I have C:TESTIMAGESTEST.PNG file,I want every file in the project pages which includes:
I tried to install Visual Studio Prof 2010 trail version in my system, but i got an error saying 'Please remove/uninstall Visual Studio 2010 load test controller' to proceed installation. i uninstalled my previous VS2008 software from system and i could not find anything like 'Remove/Uninstall Visual Studio 2010 load test controller' software in my Add/Remove Programs.
I just upgraded to 2010 and converted my VS 2008 ASP.NET web application. There were no conversion errors and everything displays in the Design mode correctly but when I try to View in Browser or debug the site won't display. I just get a blank page untitled page displayed.
I am developping the ERP Web Application. My solution structure is as given below. Main Web Application - Having reference to All Module Web Application. Common Web Application - Has Master Page, User Control, Login page, Defualt Error and etc Module Web Application - Having Module wise Aspx and code behind. It refer Common Web Application to reduce redundacy. In this Context we are facing the following problem.
1) while running web application in the debug mode it gives error as 'the target assembly contains no service types. You may need to adjust the Code Access Security policy of this assembly'
2) Could not Debug both Module and Common Web Application.
3) In Design Time both Master or user control not renders in refered Aspx Page.
4) While I debug in visual studio 2010, it gets restart after some time.
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?
I have been ising TFS 2010 with VS 2010 Ultimately for a couple of months now. I have a client who is using Visual Web 2010, does anyone know if this integrated with TFS easily?
I just recently upgrade my asp.net web project from visual studio 2005 to visual studio 2010. The upgrade was successful with no problems however im missing some features with this project. The One Click Publish feature(which is greyed out) in the header area of Visual Studio 2010 and the Add Config Transforms feature which is no where to be seen when you right click on web.config. When i create a new web project straight from visual studio 2010, these options work fine.
Visual Studio 2010 Beta 2 locked up, and when I tried to restart it, it wouldn't load, so I did a devenv.exe /resetuserdata to get it going again. It reset everyhing in my options of the web app/ etc, and now some AJAX conrols don't work such as dragpanel. I assume that it is because something got reset that I haven't enabled again, but can't figure it out.
Im working on a website project with Visual Studio 2010 from 2 different computers (home & work). In Dreamweaver Im used to FTP to upload/download files to/from a webserver to syncronice my files on the current computer Im working on.What is best option in Visual Studio 2010 to sync project files between home & work computers? I have seen there is a built in FTP, but seems only it can upload files, limited functionality?
I want to use a source control in VS2010, I know my best bet is TFS, but at the moment TFS(can't afford ). As i understand TFS is the new VSS_2005(can afford)Can VSS 2005 be use as a source control for VS 2010 solutions/projects?
when i opened my Visual Studio 2010 i noticed that my ajax tab was missing from my toolbox and ajax control kit too.Then i noticed even that when i create new website, there is no web.config in it and it should be.WHAT IS GOIN ON???? :/
Every time I press F1 to view the online Help it launches in the Opera browser. I really dislike Opera and only have it installed on my PC for testing purposes. How do I change it to IE?