Visual Studio :: Build And Clean In VWD2010?
Apr 14, 2010can't find the Clean project under VWD2010, however, my project still works fine using the Build only, is this an upgrade?
View 2 Repliescan't find the Clean project under VWD2010, however, my project still works fine using the Build only, is this an upgrade?
View 2 RepliesI create a new ASP.NET MVC 2 project with Visual Web Developer 2010 a while back. After some testing, I realized that the built-in development server is too slow for proper testing, so I decided to switch to IIS. I created a new IIS website that points to my project on disk, and configured it to use the .NET 4 application pool. Many problems arose from this:
If I open the solution file in VWD, then clean the project, IIS gives me a "Could not load type: ***" where *** is my global.asax class name.If I open the IIS website in VWD and then try to build the project, I get the same error.If I open the solution file in VWD, build the project, then open the IIS website in VWD, and then build, the build is successful. However, whenever I make a change in the code and then build again, my change is simply ignored (it seems to only be using the assembly that was compiled when I built it as a solution). When I open the IIS website in VWD, and start debugging, the debugger does not catch requests to the IIS website.My guess is that when I open the IIS website in VWD, it outputs the built assemblies to a directory that IIS is not aware of. Is there a way I can configure it to output everything to the bin directory instead? Or am I doing something wrong?
How easy is it to publish your project using Visual Web Developer 2010? Right now, the ease of use using Database Publishing Wizard makes my publishing breezely smooth. [:)]
View 2 RepliesWhen I try to connect to my SQL Server 2005 from within the Visual Web Developer 2010 Database Explorer, I get the "This server version is not supported. You must have Microsoft SQL Server 2005 or later" message.If I open up my web project from within VWD 2008, it still works fine.For reference, my SQL 2005 machine is a separate machine than one I installed VWD 2010 on. I did install the ASP.NET 4 framework on the SQL 2005 machine (but not any of the extra tools).
View 10 RepliesI'd like to tryout ASP.NET MVC2, im using VWD2010 on Windows 7. I can't seem to be able to get the unit test dialog to pop up. I googled it and all I find is nUnit templates for VWD2008.
Anyone running into this issue with same setup as mine?
I have not been able to open css files in VWD, I must have sone something I don't know. I can open them in wordpad, and WebDevelopment Server still displays properly so the file is not currupt. Is there a setting I messed up in web.config or somewhere else?
View 5 RepliesI keep adding the Build Toolbar buttons everytime I open a new instance of VWD2010.After I restart VWD2010, the Build toolbar settings wasn't saved. [:(]
View 2 RepliesIn Windows 7, I get this error message when installing VWD2010 Express "Visual Web Developer 2010 Express This product did not install successfully." This is the log file from Web Platform Install 2.0
[Code]....
I have this big project running VWD2010 and it eats a lot of resources about 340mb+. This does not happen before, last time I check this one project runs less than 150mb. Sometimes, I even run two instances of VWD2010, one project has lesser files about 130mb and combining the two, about less than 340mb. But on a single project that doesn't run more than 300mb before, is this normal? Is VWD2010 updates something?
I only use Task Manager to check the memory consumption.
From this link [URL] I get this error when installing Visual Web Developer 2010 Express.
"The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908."
I'm using a fresh install of Windows 7.
My project works under VWD2010 but when I click the Configuration tools at Solution Explorer, nothing happens unlike under VWD2008.
The configuration developement port is running and accessing it only gets me this error, [:(]
Server Error in '/asp.netwebadminfiles' Application.
HTTP Error 404 - Not Found.
My VWD 2010 Express Edition appears to be missing the console application template. I have searched all the options under new project in VB and C# but it just is not there. I would like to add the console application template option .
View 3 RepliesI have a question regarding a situation that occurs with GridView, ObjectDataSource in ASP .NET application. The GridView is linked to the ObjectDataSource and both are included within an UpdatePanel letting the GridView to fill in an asynchronous way from a form in the same page so it gets more rows as the user enters the data:
<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="ObjectDataSource1">
<Columns>
<asp:BoundField DataField="Name" HeaderText="Name" ReadOnly="True"
SortExpression="Name" />
<asp:BoundField DataField="Periodicty" HeaderText="Periodicty" ReadOnly="True"
SortExpression="Periodicty" />
</Columns>
</asp:GridView>
<asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
SelectMethod="GetSessionNames" TypeName="Simulation"></asp:ObjectDataSource>
<asp:Label ID="Label27" runat="server" Text="Label"></asp:Label>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="NewWebSessionButton" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
I start the project with Visual Studio 2008, fill the form and it works correctly. Then I stop the execution: rerun again and the data I entered in the previous run is in the GridView. Is like some sort of cache saved the data from the session before. I checked that EnableCaching property is set to false for the ObjectDataSource. If I Rebuild Web Site in Visual Studio (not just Build) then it works corretly leaving the GridView empty. Is this caused just becuase of Visual Studio? Can it be turned off? And will it happen in the final IIS it will run on?
I work on an asp.net web application (3.5) with Visual Studio 2008. There are a lot of files in this project (approximately 500 aspx files) and I think I can remove some of them.
My question is: Is there a way to identify the useless files, I mean, the files that are no longer used in the project (like an image, aspx, etc.); by using Visual Studio or an external tool?
I have installed SQL Server 2008 express, reinstall it with advanced services, uninstall TFS 2010 and tries to reinstall it but fails. It doesn't want to completely uninstall.
So I'd like to clean everything by hand (deleting registries, folders) but can't find any info. I have deleted install directory but installer still memorized that TFS is installed.
I have been using VWD2010 Express for a website that I am working on. Due to a delay in implementing the 4.0 framework at the hosting service that I use, I need to finish up with VWD2008 Express. Is there a simple way to save my project so that it is compatible with 2008?
View 2 RepliesI have a Sitecore/ASP.NET projects that I'm developing. Today at some point I inadvertently hit the "Clean" option in the solution context menu. It took me a while to figure out why my site was hopelessly broken. Turns out Visual Studio went ahead and deleted several required assemblies from the in dir which are not part of my project.How can I prevent this from happening again?The odd thing is that it did NOT delete everything... just a small handful. It left many that are not directly referenced by my project. This makes me wonder exactly what this feature is supposed to do? Is there some sort of file flag I can set? None of the files are set to read-only. If you're interested in details, the following got deleted:
Sitecore.Analytics.dll
Sitecore.Client.XML
Stimulsoft.Base.dll
Stimulsoft.Report.dll
Stimulsoft.Report.Web.dll
Stimulsoft.Report.WebDesign.dll
Telerik.Web.UI.dll
UPDATE: You know what... I guess what I'm really more interested in here is WHY Visual Studio is leaving most of the files and only deleting these specific ones.
I Built my project for x64 Using VisualWebDeveloper2010Express.And I tryed to execute it in Win.2003 x64 environment, it did not run..Net Framework 64 and IIS were installed in win.2003 x64.
View 1 RepliesI need to compile unmanged c++ in visual studio. (so that i can access from my c# app)
How to do this ??
I have all the source files (.cpp and .h file).
I really like the new transformation feature for the web.config. It seems to work when I do "Build deployment package" but not when I just want to locally start the debugging using the green arrow. It just uses the web.config without processing theWeb.Debug.config. I can prove that because in web.config I have debug="false" with a transformation in Web.Debug.config so that it gets true but everytime VS asks if it should modify the web.config to enable debugging which it should've done automatically with the following transformation:
[Code]....
Am I missing something here? I used to work with NAnt to modify/create the web.config as a pre-build event but I thought that I wouldn't need it anymore. Am I wrong? The project is a freshly created asp.net mvc 2 web application.
When working with an ASP.Net application, when I rebuild the solution, I would like it to automatically refresh the current version thats running through the integrated server in the browser.
I have looked through post build commands and afterbuild targeting but I have not been successful so far. I would like to do this straight through VS2008 if possible without needing to install anything extra, put if thats not possible then any solution would do!
So here is the problem, when I build my web application in Win 7 x64 and publish (copy) to 2008 Server R2 (also 64 bit), the application won't run when I navigate to a page that uses a 32 bit dll.
When I boot to the Vista x86 partition and build and publish (copy), same code, minimally modified sln file to redirect to same code location. I've created a new entry usiong Menu > Build > Configuration Manager and created a x86 entry. I thought that was all I needed to do to force VS to build to a 32 bit machine. Am I missing something or do I just need to boot Vista when I want to work on my web site?
i m using VSS 2005 and VS 2005. on one machine i installed VSS 2005 and create project. on second machine i opended my project using project source safe, it ask me for user detail and i enter details. i got the complete project. problem is that when i try to run project i got following error. "An editor or project is attempting to check out a file that is modified in memory, which will result in saving it. Saving files during the build process is dangerous and can result in incorrect build outputs in future. Do you want to continue with the check out?"
View 1 RepliesI've got a solution that contains several projects. There is a main exe project which I'll call MyProj.exe that references several other projects which reference yet other projects in the solution. Additionally a few projects in the solution are not in MyProj's reference chain and aren't regularly built. There is 1 project (a class library project) named Payment which is giving me a particularly hard time. The two of MyProj's references have a project reference to Payment.dll. So the reference heirarchy looks like this:
- MyProj.exe
- Transactions
- Payment
- Accounts
- Payment
When I right click MyProj in the Solution Explorer and choose Build, everything works fine, but when I choose Rebuild, I get the following results:
Payment.dll is deleted but never rebuilt. It doesn't exist in the output directory MyProj.manifest in the output directory doesn't have a reference to Payment.dll. (What is this file? I don't remember normally seeing it in other project's the output directories.) 19 of the project .pdb files are deleted and not rebuilt This is a big problem for me because this is a ClickOnce application and when I'm publishing, Payment.dll isn't getting included in my deployment which is a problem I suspect is closely related.
I want to be able to automatically publish to a local folder each time a web asp.net mvc 2 project is built.
I use Visual Studio 2008.