Hi all.. I'm just recently switching over to vb.net 2005 from vb6 and find it incredibly different yet powerful.. my problem though is this whole deal with where my project files get stored.
Originally when I first started I was so excited that I started making a few projects using the default directory without thinking about it.. after awhile I realized I had forgotten to change the default directory, so after navigating the immense number of options, I changed the default project location to a network share drive (call it X).
I then proceeded to copy all the project directories from the old location to X.. however I have 2 problems now..
1) None of the projects I moved want to open anymore.. they keep looking for files either back in the old location (why) and/or they are looking for .vb files in the root of the new location and not in the directory of the project as it should.
2) I tried creating a new test project.. something simple just to make sure things were ok.. the test project was only to open the c:\ drive using the openfiledialog class (I'd already tried this earlier and I know it was working).. but this time it worked but when I closed the project and re-opened it, it kept telling me about security permission rights and not being able to open the c:\ drive.. which I'm assuming maybe because the project is now stored on a non-local drive. I'm including the error here:
********
Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
********
Has anyone experienced any of these issues and have a solution or recommendations? I love the new .net stuff but the IDE of visual studio I think could use some work especially with something as simple as moving project files around..
Any help is appreciated!!
Originally when I first started I was so excited that I started making a few projects using the default directory without thinking about it.. after awhile I realized I had forgotten to change the default directory, so after navigating the immense number of options, I changed the default project location to a network share drive (call it X).
I then proceeded to copy all the project directories from the old location to X.. however I have 2 problems now..
1) None of the projects I moved want to open anymore.. they keep looking for files either back in the old location (why) and/or they are looking for .vb files in the root of the new location and not in the directory of the project as it should.
2) I tried creating a new test project.. something simple just to make sure things were ok.. the test project was only to open the c:\ drive using the openfiledialog class (I'd already tried this earlier and I know it was working).. but this time it worked but when I closed the project and re-opened it, it kept telling me about security permission rights and not being able to open the c:\ drive.. which I'm assuming maybe because the project is now stored on a non-local drive. I'm including the error here:
********
Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
********
Has anyone experienced any of these issues and have a solution or recommendations? I love the new .net stuff but the IDE of visual studio I think could use some work especially with something as simple as moving project files around..
Any help is appreciated!!