.net - VisualStudio Projects: Modifications Are Not Taken Into Consideration?
Jan 24, 2012
I have (between others) 2 projects in my solution: one WinForm project, that defines a Form (say, MyFormProject), and other a UserControl (MyControlProject).When I modify MyControlProject's code and launch the debug, I see that any modification is not taken into consideration. I need to clear the solution, rebuild, for make it work...
Additional info: I use in the UserControl the Dbi-Tech Components. Also, in the WinForm I use Infragistics components. Are both license files compatible, cause seems that both should user licenses.licx file?When I wrote a new method in the Control, I got a MissingMethod exception in runtime, however, the code compiled without any error.Then I removed the references, re-added them, and the exception in runtime didn't appear.
We create a class library and ship C# and VB.NET examples.I have a solution of 60 C# projects. If I make an edit to one of them, Visual Studio only builds the changed one. I have an equivalent solution of 60 VB.NET projects. Visual Studio always builds all 60 projects. Why? Is there a way to force Visual Studio to behave like it does with C# projects?
I should mention that there are no dependencies between the projects.More information: It's not recompiling, really, it's just checking if they need compilation and that takes a significant amount of time.
Here's the build output: Build: 0 succeeded, 3 failed, 58 up-to-date, 0 skipped Those 58 checks take about 30 seconds in my solution of VB.NET projects. This same up-to-date check is almost instant in the solution of C# projects.No edit is necessary. Just switching startup projects is enough.
I am currently developing a new WPF application and have the majority of my business logic layer developed (ie my Models). I am about implement ViewModel classes to represent one feature of my application. I am quite new to the Model-View-ViewModel pattern and I have a question about which approach would be best to use when implementing my ViewModel classes.
i've been experimenting on some WebBrowser stuff on Visual Basic 2010, and after experiencing a lot of things, i still wonder how can i add multiple header modifiers, for instance i've added a mod to the Referer (yes with one r) which actually mods the site's referrer and stuff like that,
I want to know how to change other refs for the same site like user-agent and things like that. but all together for the same site,
This is the code
Quote:
Dim HEADERS As String = "Referer:http://www.google.com/search?q=" + TextBox2.Text + "&oq=" + TextBox2.Text + "&aq=f" + Microsoft.VisualBasic.ControlChars.CrLf Dim URL As String = TextBox1.Text WebBrowser1.Navigate(URL, "_self", Nothing, HEADERS)
How am i supposed to add the user-agent change thing, for example next to the referer or something like that. do i need to create a new dim? how is it supposed to look like?
the access data are not getting reflected on the DataGridView unless the form is reloaded again. I am acessing the MSAcess data for back end processing (SELECT,DELETE)using odbc connection and displayin on .NET form using DataGridVew
whats the difference between making the sqldatabase outside visualstudio and making it within the project what is better for my web project?whats the coonection string if it is made in visualstudio?
at Microsoft.VisualStudio.DataTools.Interop.IDTTableDesignerFactory.NewTable(Object dsRef, Object pServiceProvider) at Microsoft.SqlServer.Management.UI.VSIntegration.Editors.TableDesignerNode.CreateDesigner(IDT
The auto-comment option in my Visual Studio 2008 suddenly stopped working. o_O Do anybody knows how to repair it and enable this feature again? I'm putting triple apostrophe above function and comment tags doesn't appear. I was trying to reset vs settings but it doesn't help.
I have a x64 Win7 VisualStudio 2010 system for development. The problem is, that I only break project for "just in time editing" while unsing x86 target platform. No problem, I switched all to x86.
The problem is now, that one of the camera drivers, I am using from a third party is x64 combiled because it is on my x64 system.
No problem, I re-created the class in a very new project where I can choose the target platform. I build an wrapper for all methods.
The auto-comment option in my Visual Studio 2008 suddenly stopped working. o_O..Does anybody know how to repair it and enable this feature again?I'm putting triple apostrophe above function and comment tags do not appear.
The auto-comment option in my Visual Studio 2008 suddenly stopped working. o_ODoes anybody know how to repair it and enable this feature again?I'm putting triple apostrophe above function and comment tags do not appear
When I start VS2008Prof I get a Package Load Failure "Package 'Microsoft.VisualStudio.Xaml' has failed to load properly". Repairing VS and resetting ('devenv /resetsettings') it did not help.
I am using visual studio 2008 professional. I am following the example from this:[URL] to implement unit testing for sending email function for my current website. I have compile error:
Value of type 'FakeSmtpClient_Accessor' cannot be converted to 'Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject'
The unit testing function is:
Public Sub IfEmailAddressIsValid_AnEmailShouldBeSent() Dim fakeClient As New FakeSmtpClient_Accessor() Dim helper As New EmailHelper_Accessor(fakeClient)
I have a weird question and I honestly hope you understand what is happening here: I design my form (using VB.NET) and put on it a few textboxes, comboboxes and a listview. After the design, I want to adjust the TabIndexes for each control on the form. On the right-hand side of the interface is the property box.
I then select the 'TabIndex' property item and enter a number key (for instance 0) for that selected item. I then select the next textbox control and enter the next number (for instance 1) WITHOUT re-selecting the 'TabIndex' property item. As soon as I select the combobox or listview control, the currently selected property item jumps to 'Items' or 'Collections' and does NOT remain on the 'TabIndex' property item. Why is this happening? Everything worked fine and all of a sudden this starts happening. Should I reset the editor settings or how can I resolve this matter?
after being disappointed with VB2010, and with the lack of vb support for windows 7 phone, I thought I'd be happy now that vb is going to be supported after all.So, I downloaded the trial version of vs 2010, to run these new tools.Several hours later it finishes installing, and I start a new project only to run into the error: Error: this template attempted to load component assembly "Microsoft.VisualStudio .SmartDevice.ProjectSystem.Base".
How can I create a namespace and classes in it, then save it, and reuse the namespace in other projects? Do I have to click on Create Class Library in Visual Studio?
Im gonna develop an application s/w using VB.Net & Oralce for a small company with 4 employees and a MD.
Each has their own PC connected through a Hub.The task of MD is to check in the employees daily work progress & to calculate their incentives in daily basics...
And each emp should be able to check their daily incentives from their PC using the passwords provided by the s/w Now my doubt is. how should I show the daily incentives updates to all emps PC from MD pc?(i.e) if i install the s/w in all PCs, will they'll get the updates automatically? DOES VB.NET can be used here or should we use ASP.NET?
I have a .Net solution with 5 projects in c# and one in visual basic. I want to know whether there would be a gain of performance to convert my visual basic project to C# in the day to day while I compile my solution.
How do you add new ocx files so they can be used in your projects? I download some free ocx files and cant use them right now cause I can't get them in the side bar thing.
I have a project named "slnAllForKids" in Visual Studio 2005. I have another project named "AFKLogin." There is a page called index.aspx in slnAllForKids. I want to redirect from index.aspx to home.aspx in AFKLogin when I click submit button in index.aspx.
I am currently doing a project which is to be linked with another project. I.e., when I click on some button in my current project's page I should get a page from the other project..
I'm going to build a large project and want to create several libraries (DLL) for it. I don't want to merge them all in one EXE, but want to use seperate DLL files.I don't want those DLL's to be used by others, so these DLL's should be protected so that they can only be used in my own project.I was thinking of using some sort of password in the New() proc, but that doesn't work for shared classes.
Other solution I was thinking of: is it possible to check if the calling assembly has the same strong name as the DLL?These solutions are just one of my ideas. I don't know if those will work and am not saying that one of them is the way to go.What is the best approach to accomplish this?
Every time I open a project, it closes the project I had open. I would like to have two or more projects open at a time. I like to do this so that I can reference old code, etc. The projects are not related in any way, so I don't want them linked in any way.
I have two .NET projects in the same domain. The first project I create long time ago in VB.NET. Now I create another project that I built in C#. How can I set up my new project in the same domain so I can access the new forms that I built in C#. Do I need to submit the whole folder from the project? Do I need to change anything in the web.config? Right now I am getting this error. [PhoneControl] is the new project in C#. [URL]