.net - Cannot Open Solution File?

Sep 1, 2010

i have this project in TFS, and someone else from another computer changed the solution file's name. Now when i try to open it, i cant. It gives ne this error -"This project (xxx.sln) cannot be opened from source control because it was created by a version of Microsoft Visual Studio that is incompatible with this one.If this is the case, you may be able to open it from source control using that version of Microsoft Visual Studio, and then use Microsoft Visual Studio to open the local copy."

I dont have a local copy cause i deleted it. Reason being i wanted to get eveything new from the server. How can i open this project now?

View 2 Replies


ADVERTISEMENT

Extracted File - When Open The New Project Solution File, It Doesn't Show Me Anything?

Feb 17, 2011

It is saved on my desktop for easy access.I can close the program. I can click the solution to open it right back up, no problems.I then zip my file (also to the desktop)

My problem: I moved the original file (Project A) to another folder and extracted the unzipped Project A onto the desktop. When I open the new Project A's solution file, nothing happens besides VB starting up. It doesn't show me anything.

View 6 Replies

Open The Assignment File On Destop To Access The Solution File?

Sep 18, 2009

I have been trying to open a solution file downloaded from my class for the past two days. When I open the assignment file on my destop to access the solution file, it's not there. I have the variables design, obj, bin, and others but not the .sln file which is the one that I need. How can I fix that problem?

View 2 Replies

Opening A Solution File It Was Saying "The Selected Fiel Is Not A Valid Solution File"?

Mar 27, 2012

Till yesterday I was working fine with my Project.I din install anything new, am not trying to open my solution file with a different version also.Today when i tried opening my solution, it was saying

"The Selected Fiel is not a valid solution file"

"The Operation could not be completed.Unspecified Error"

Microsoft Visual Studio Solution File, Format Version 10.00

# Visual Studio 2008

Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "??E", "..Setup2Setup2.vdproj", "{600F8FB2-B9A9-4138-B7E7-FE7B39815CC1}"

EndProject[code].....

View 6 Replies

Open Another Solution In A New Window?

Nov 18, 2010

I want to open a Windows Application window that has the contents of another solutiowhen I click on the button. How do I do this?

View 3 Replies

Wpf - How To Open A Window From The Same Solution

Mar 25, 2012

I have MainWindow with a button, under the button click event I want MainWindow to open Window1, another window I have created beforehand. What is the simplest way to do this? Also I have a canvas in Window1 that I want to display a page (Page1) on a button click.

View 1 Replies

IDE - Solution Starts Debugging As Soon As It Open

May 4, 2011

I have a VB solution in Visual Studio 2010 which is a year or so old. In the last couple of months a very strange thing has started happening - when I open the solution, it starts debugging immediately. Has anyone got any idea why this might be happening and how it can be prevented as its really annoying?

View 2 Replies

[2008] Application Performance Explorer - Open The Solution In The Visual Studio IDE

Mar 25, 2009

Stupid question, but how do I get access to this Explorer? The says: To create a performance session for Windows client application:

(1) Open the solution in the Visual Studio IDE.

(2) On the <B>Analyze</B> menu, click <B>Launch Performance Wizard</B>.

(3) From the <B>Which of the following available targets would you like to profile?</B> drop-down list, select the name of the application that you want to profile, and then click <B>Next</B>. You can add more binaries later.

(4) Accept the default Sampling profiling method, and then click Next.

(5) Click <B>Finish</B>.


Only problem is that there is no <B>Analyze</B> menu in the IDE.

View 1 Replies

Open (2nd) Form From (1st) Form In Multi Project Solution In VB

May 14, 2011

I have read a lot of the prior questions/answers on this topic but it only took me so far. I have a solution to which I added 2 additional programs. These 2 added programs in essence create a PDF2TIFF converter using GS. I wish to call that form and use it as a utility from my main program. After reading other answers in the forum, I added these two programs as references in the main program and imported everything available, into the main program. I have what seems to be a correct build order set up. I want to open the form in the utility project(s) from a link on my main form. I tried a few things but the only way I could write the code without errors was to instantiate the second program then call that with a button click.

[Code]....

View 5 Replies

Adding And Using A File To A Solution?

Jan 22, 2011

I recently built a program in VB 2010 that calls an image file from my hard drive. I have found that by deleting or moving the file causes the program to shut down.The code to call the image is as follows:

aTileSheet.LoadBitmap("C:Documents and Settingsimagefile.jpg", 32, 32)

I remember when I was working with C#, there was a way to add a file (such as a Jpeg) to the solution itself.While I can add a file with the "Add Existing Item" command, I am at a loss for how to use it from the solution. If there is some way to add an outside file so that it will be a part of the program after building it, or if this is even possible, I using s dynamicbitmap command (as found from this website ) to use the image. If this effects the results, let me know that too.

View 8 Replies

Opening Without A Solution File

Sep 27, 2011

I apparently didn't save the project I was working on as a "solution" file, and I all I have are two separate files.[code]I only have those two files. The code is there, but the solution explorer lists nothing, and I have found no option to just simply open up my project after saving it so I can work on it again. I see no design. I really just want to see my project like it was before.

View 3 Replies

C# - MSVS Solution File Generator?

Nov 24, 2009

I'm looking for a simple tool, that accepts a path, scans folders, and creates a solution (sln) file with all the projects found.Setting project dependencies automatically would be a big plus for the tool from me.

View 1 Replies

Converting .exe To VS Solution File / Project

Aug 24, 2011

I've recently had an issue at work where I have lost my solution files to my projects, but I still have the executables that have been produced by the projects / solution (yes, my fault for not making better backups). Is there any software out there or any way of decompiling the executable back into a solution / project file??? IF yes, fantastic! If not, it just means I can cross it off as an option!

View 3 Replies

MSbuild Getting The Current Configuration From The Solution File?

Jul 31, 2009

In my VB.NET project I have three configurations DEBUG|TEST|RELEASE.

Currently when I am building using MSbuild and TeamCity I hard code the configuration, which smells badly!, to TEST

<Configuration Condition=" '$(Configuration)' == '' ">Test</Configuration>

Now before everyone screams at me not to hardcode this, the reason this was done was becuase we could NEVER seem to get $(Configuration) populated.

So my question is within MSBuild how can I read the currently selected configuration from the solution file commited to SVN?

View 1 Replies

Opening A Solution File In Visual Studio?

Mar 26, 2010

I am using the book: Programming with Microsoft Visual Basic 2005: An Object Oriented Approach and have a question. It says for instance: "In Visual Studio, open the solution file of the same name appearing in the folder named Chapter.09Chapter09ApplicationLessonPreview." Where in the world do I find this file? Is this something I have to create myself or is it already done and I just don't know where to look.

View 2 Replies

Start Debugging Is Disabled In Solution File?

Mar 11, 2010

I hav I hav a vb.net project in which the start debugging is disabled

View 1 Replies

Unexpected Behaviour When Adding A File To A Solution

Sep 1, 2011

I did so by chosing "add existing file". For purposes to reproducing this let's say the file is in c:emp. So I added c: emphelp.chm.

I set the properties to "copy always" under the option "copy to output directory".

Then I compiled and it worked fine.

I then updated the file in c: emp with changes and compiled. I expected the updates would be copied into my program but they did not..

View 3 Replies

Access VB Code In Solution File Without Visual Studio

May 21, 2009

Is it possible to get access to my VB code if I have the solution files on a USB hub but no access to Visual Studio? Can I open them up in Notepad?

View 1 Replies

Get A File Path In A Specific Project In A Web Application Solution?

May 30, 2011

I'm writing a Visual Studio Macro and need to read a XML file in my project and write something. i can't get the correct file path! in my web application solution i have to projects for business and UI files. and my xml file named fa.xml located on UI project in a separate folder. i want to use this macro for many solutions. but the structure is the same. How can I get the Path of a file in a specific project in my solution?

View 1 Replies

Make The .svc.cs Or .svc.vb File Visible In Solution Explorer For A WCF Project?

Mar 3, 2012

I have a solution that contains a WCF service project. In Solution Explorer only the MyService.svc file is shown, but on double clicking it the MyService.svc.vb file opens for editing. That is OK, but Visual HG (based on Mercurial) now doesn't show that the MyService.svc.vb file has changed and I cannot commit any changes without browsing to the Tortoise HG workbench. This is a possible cause for errors when merging code. So, how do I make the MyService.svc.vb file appear in Solution Explorer?

EDIT: The problem seems to be limited to VB WCF projects. In C# there is an arrow before the .svc file that will show the svc.cs file when clicked. Bug?

View 1 Replies

VS 2005 Solution File Show 2003 Icon

Jul 4, 2009

I did not do anything at all but I just noticed that my 2005 solution files are defaulted to 2003 so I used "Open With" and ticked the "Always use this program..." and selected the 2005 even and it is now being opened with 2005 but somehow the icon still shows the 2003 icon, why is this and is there anything I can do to revert it back to the 2005 icon?

The only thing I did was to download and install the latest BOL of SQL Server 2000 which I am not sure if it affected any setting for VS. EDIT: "Restore File Association" did not do the trick.

View 1 Replies

2010 [Regex] Reading Visual Studio Solution File?

Sep 1, 2010

I need to read a Visual Studio Solution file (.SLN files) to figure out which projects belong to this solution.By opening a SLN file in notepad, one can see that the projects are stored like this:

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RadioGadget", "RadioGadgetRadioGadget.csproj", "{AE664C6C-000B-44D9-BAD8-0200D6ABE90D}"

[code].....

excluding the ... part obviously (which is just some guid I don't care about). Then I need it to match the rest too, and more importantly, I only need it to return the filename that I've underlined in the example. When I simply use 'm.Value' as I am now I think I will get the entire matched string back, right? That gets me nowhere as I'd still need to parse the filename out of that manually... Bit pointless to use regex then...

View 1 Replies

After Copying A Solution - Error - Cannot Overload Each Other Because They Differ Only By 'ReadOnly' Or 'WriteOnly'." In The Web.g.vb File

Oct 11, 2010

I have created a solution where no problems occur when debugging. After copying the complete solution to another folder i cannot debug this solution. I receive an error "Public Property DisplayName As String' and 'Public ReadOnly Property DisplayName As String' cannot overload each other because they differ only by 'ReadOnly' or 'WriteOnly'." in the web.g.vb file. I deleted the web.g.vb file and build the solution but this does not solve the problem. (The original solution debugs withoud any problem)

View 6 Replies

Why Would A .sln File Open As Empty In VB2010Express When It Should Open Referring To Projects Etc

Mar 6, 2012

Why would a .sln solution file open and appear empty in Microsoft Visual Basic 2010 Express - i.e. no windows showing projects and code files etc.When I inspect the file in a text editor, it contains references to vbproj files (which are present) which indicate that it should not appear as empty.No error messages are reported when the file is opened.

View 2 Replies

[2005] Can't Open Excel File By Using XlApp.Workbooks.Open?

Feb 11, 2009

I would like to open the excel file after create the excel file. The creating file function is done, but the system unable to open the excel file. My coding as below:

Dim xlApp As Excel.Application
Dim xlWorkBook As Excel.Workbook
Dim misValue As Object = System.Reflection.Missing.Value

[code]....

View 1 Replies

Use Open File Dialogs To Open A File To A Text Box?

Nov 18, 2009

how to use open file dialogs to open a file to a text box?

View 6 Replies

Can Get Web Browser To Open And Open File That Was Clicked On In Explorer?

Aug 7, 2011

I've noticed that when you click on a web page in Windows Explorer, or open a file in general, and the default application to open it is internet explorer, ie opens and opens the file. However, when I tried this on my Web Browser it opened, but ignored the file and went on its usual routine. How can I get my Web Browser to open and open the file that was clicked on in explorer?

View 1 Replies

Open And Re-open A .doc File In The Rich Text Box Control?

Apr 28, 2011

I saved a file with the extension .doc. I use the RichText to write and save the text. I did not set any encoding type when I saved it. When I tried to open the file in the Richtextbox again, I got all the formatting characters in the RTF file. How do I correct this? How do I open and re-open a .doc file in the Rich Text box control without the formatting showing up in the box with the document contents?

View 4 Replies

Open The Dialgue Box And Click The File And Open In My Pdf Reader

May 11, 2010

im having a slight problem with my open file dialogue box, i need to be able to open the dialgue box, and click the file and open in my pdf reader, or at least load it to my other form ive created. what ive go so far:

[Code]....

View 9 Replies

Open Window Is Not Displaying To Open A File?

Jul 13, 2011

I like to open a file. The open option should be shown in a separate window. My code works fine but the open window is not displaying to open a file. Here is the code:

private void OpenMyFile()
{
string path = GetPath() + ViewState["fileopen"];

[Code]....

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved