Visual Studio keeps changing resx files - vb.net

I'm working on a VB.Net project and using SVN. I noticed that every time I open my main form, Visual studio slightly modifies my .resx file, which means that I keep having to re-commit it, which is quite annoying.
Has anybody experienced such problems? A diff file demonstrating the problem can be seen at http://synchronicity.svn.sourceforge.net/viewvc/synchronicity/trunk/Create%20Synchronicity/MainForm.resx?r1=272&r2=359&pathrev=359
Thanks,
CFP.

Bit late, but this sounds like a problem I raised with Microsoft around Image Lists:https://connect.microsoft.com/VisualStudio/feedback/details/428868/png-files-corrupted-in-an-imagelist-when-opening-and-closing-a-form

Related

VB.Net Windows Application requires rebuild every time even for small changes

I have created windows application in VB.Net 2010. The problem is that even for a small change, I have to rebuild the project. Without rebuilding it, the changes do not take place. What may be the problem or something else?
There is no problem here. That's the way it's supposed to work. Unlike vbscript and vba, which were interpretted, VB.Net is a compiled language.

Using Winnovative in SharePoint workflow

Hopefully someone can tell me what I am doing wrong here. I have a SharePoint 2010 workflow I am coding in Visual Studio, and I was trying to emulate what is being done here, but as soon as I hit this line:
PdfConverter pdfConverter = new PdfConverter();
My workflow errors out.
I have Phil's book (workflow's in action) which contains an old version of the winnovative dll in one of his code samples, and thinking that might be the issue, I downloaded the newest version from winnovative's site, updated the using line at the top from:
using Winnovative.WnvHtmlConvert;
to simply:
using Winnovative;
as per the developer documentation that came with this newer version, and still no luck. Is there something else I need to do that I'm missing when using this with SharePoint? When utilizing an XSL style sheet for some transforms I had to deploy the xsl to the templates via my project utilizing the sharepoint mapped folder from within Visual Studio. Is something similar required for the winnovative dll to be utilized as well, so that the functions within the dll can be accessed? Do I need to do regsvr32 on the sharepoint server to utilize (something that literally just occurred to me as I'm writing this post), or is adding the reference in visual studio and compiling my code enough? Sorry, not the world's greatest developer, so some insight would be HUGELY appreciated. Thank you in advance for your time.
I figured it out. Following the breadcrumbs of my questions, I found out the dll needed to be deployed to the GAC. Once I did that it worked. This has been a big learning experience, but at least now I know. Thanks for looking.

Visual Studio 2012 hangs on editing XAML

I have a problem with Visual Studio 2012 that I'm hoping someone can help me out with.
Visual Studio hangs when I try to modify a XAML file. Admittedly my solution contains over fifty projects and I am running ReSharper and StyleCop. This is my first day in a new job and my first experience with XAML so I'm trying to make a good impression!
What can I try to sort out this issue?
Thanks in advance, Mark
After a bit of googling, I found the solution to my problem here: http://weblogs.asp.net/fmarguerie/archive/2009/01/29/life-changer-xaml-tip-for-visual-studio.aspx
Try to suspend/uninstall Resharper and all other plug-ins for Visual Studio. This worked for me whereas all other methods did not.
Also try to run VS with /SafeMode flag and see if it works properly.
This is still issue in 2013 (as of May 2016). The suggested solution above is not helping.
With my Visual Studio 2012.4 I found that while opening XAML in design mode, XDesProc was using 2gb of my RAM and 25% of CPU (i7 8 core), I resolve the problem by turning off the data loading in View Model’s constructor if in design mode. Loading the ItemsSources of my many Comboboxes just bogged down the designer. This way I can still have my designer. Don't forget to import System.Windows and System.ComponentModel in your ViewModel and add these code below in the constructor
If DesignerProperties.GetIsInDesignMode(New DependencyObject) Then
‘ Do nothing
Else
‘ Load the data
End If

Visual Basic Express project is not (always) saved on disk

I'm a Visual Basic newbie, doing a quick'n'dirty VB app in Visual Studio 2010 Express (under Windows 7, 64-bit).
I save constantly. I have used the "Save All" option. I have rebuilt the app.
Still, the project is not always written to disk when I save! (sometimes, my changes are written to disk, but I haven't found out yet the pattern). This is really bugging me, since quite a few times I saved my project, closed VB, and then I realized all my changes had not been saved.
Is this some limitation of VB Express? I am using Visual C++ Express, too, and I had no such problems there.
EDIT: For even more clarification -- I am not getting any errors, and I am not having problems with version control. What I do is:
I make changes in source file.
I press save.
I rebuild, at a certain time hh:mm.
I look on the disk, and sometimes my source file's "last modified time" is not hh:mm, and if I open it, the changes from 1) are not in the source file. Sometimes it is there, but I can't say for sure when or why.
The config on my machine is nothing special as far as I know, just normal Windows 7, 64-bit. I guess if it were some access rights related issue, the saving would never happen, instead of what I'm experiencing now.
By now, I think one can safely assume that this is no Visual Studio Express issue (just installed it as it came, using it "out of the box").

VS2005 VB.NET XML Comments ''' - stopped working

I'm using VS2005 in a solution with a mix of VB and C# in different projects.
I use this solution on several different computers and XML comments with both /// (c#) and ''' (VB) have been fine for months.
all of a sudden, on my main development machine, they've stopped working in VB. They still work in C#.
They work in other projects, too (in VB). It's just all VB projects within this one solution.
Does anyone have any ideas?
I can't pinpoint when it stopped working as I haven't modified much of the VB code for weeks/months.
aha!
in the 'compile' tab under properties, the 'generate documentation' checkbox was not ticked.
looking at SVN it looks like someone checked in the VB projects with this unticked, for some reason.
thanks for the help! it's my first time using this site. looks like the guys involved have done a good job. i love the fact you don't have to register.
The one reason this might be the case is that the XML file is no longer being created/updated. Make sure the XML Documentation file is set in the project property pages. Has your XML file been put under source control and if so is it checked out on a build. If not then it won't update.