|
-
Nov 6th, 2007, 04:48 PM
#1
Thread Starter
Addicted Member
[RESOLVED] Make form changes, they dont show up when ran!
I've built up my form, made it look all purdy like (no code yet). And after saving it, now any changes I make to the form, doesnt show up when i preview the program! Say I add a button, doesnt show when ran. Change the size of my form, color, font, layout....NOTHING! I dont have anything locked, or any crazy properties set (not that I know of), it just wont update when I run the program (preview). Any ideas on what I did wrong?
-
Nov 6th, 2007, 05:09 PM
#2
Addicted Member
Re: Make form changes, they dont show up when ran!
Never experienced anything like that, though VB.NET does do some weird things, occasionally.
I find that if its just being weird, for no apparent reason, simply closing VB and re-opening your project can sometimes cure it.
-
Nov 6th, 2007, 06:19 PM
#3
Re: Make form changes, they dont show up when ran!
First thing to try would be to zip the whole project and keep the zip file somewhere save. Then delete the bin and object folders and run your project again. This will recreate the 2 folders and hopefully take care of your problem.
-
Nov 6th, 2007, 06:38 PM
#4
Hyperactive Member
Re: Make form changes, they dont show up when ran!
Visual Studio .NET 2005/.NET Framework 2.0
-
Nov 7th, 2007, 10:26 AM
#5
Thread Starter
Addicted Member
Re: Make form changes, they dont show up when ran!
Well deleting the bin folder and object folder did the trick. Got rid of them, had to rebuild the project, but then it worked fine. Thanks guys!
-
Nov 9th, 2007, 05:05 PM
#6
Thread Starter
Addicted Member
Re: Make form changes, they dont show up when ran!
Ok so deleting the BIN and OBJ worked last time. Well It did it again, and deleting those folders didnt work. Here's the errors I get:
Error 1 The "ResolveManifestFiles" task failed unexpectedly.
System.ArgumentException: Illegal characters in path.
at System.Security.Permissions.FileIOPermission.HasIllegalCharacters(String[] str)
at System.Security.Permissions.FileIOPermission.AddPathList(FileIOPermissionAccess access, AccessControlActions control, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor(FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.Path.GetFullPath(String path)
at Microsoft.Build.Tasks.Deployment.ManifestUtilities.Util.RemoveDuplicateItems(ITaskItem[] items)
at Microsoft.Build.Tasks.ResolveManifestFiles.set_NativeAssemblies(ITaskItem[] value) Media Center v0.0.1
Error 2 The "NativeAssemblies=@(NativeReferenceFile);@(_DeploymentNativePrerequisite)" parameter for the "ResolveManifestFiles" task is invalid. Media Center v0.0.1
Error 3 The "ResolveManifestFiles" task could not be initialized with its input parameters. Media Center v0.0.1
Now there is no code as of yet, and it seemed (not sure if it caused it) to do it after I added a few more com components. Now I unchecked those components after I had the problem, in hopes of fixing them.
Also (probably unrelated) a few random times, when double clicking on the man form in design mode It wouldnt take me to the form code. Instead it would take me to a form design code, with all the settings for every control on the form. Weird, never done that before. I've only seen it twice before, and only in this project. Not sure what I did, but didnt seem to cause any problems.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|