VS 2013 deletes ProjectTypeGuid for MVC4 from .csproj file

I am on a team working on a long-term MVC 4 project. The solution was created in a previous version of VS. In VS 2013, when you right click the controllers folder and choose "add controller..." the only options are for WebAPI 2. 
We discovered with our source code management tools that VS 2013 is dropping the project type GUID for MVC 4 (E3E379DF-F4C6-4180-9B81-6769533ABE47) from the .csproj file. This happens as soon as the project is loaded in VS 2013. 
You can add the GUID in notepad, but as soon as you open it in VS 2013, it is deleted.
VS 2012 does not delete the GUID.
How can we solve this problem?  It sure would be nice to have the scaffolding for MVC 4 in VS 2013.
Thanks,
Gerald

Hi Gerald,
Maybe you could share me the detailed steps, so I could repro this issue in my side. Which VS version did you use before?
For example, I create two web projects MVC 4 and MVC 5 in my VS2013. 
The MVC 5 GUID:
 <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>
The MVC 4 GUID:
 <ProjectTypeGuids>{E3E379DF-F4C6-4180-9B81-6769533ABE47};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> 
So if you create the new MVC 4/5 project, do you get different result?
>>You can add the GUID in notepad, but as soon as you open it in VS 2013, it is deleted.
How did you add the GUID? I mean that what the GUID you added in notepad, as far as I know, the Visual Studio 2013 is compatible with MVC 4 and MVC 5. So if you mean that you use other version GUID, I'm afraid that it would have a limitation.
Reference:
http://stackoverflow.com/questions/13424079/how-do-i-open-an-old-mvc-project-in-visual-studio-2012-or-visual-studio-2013
http://patrickdesjardins.com/blog/how-to-migrate-from-asp-net-mvc-4-to-asp-net-mvc-5
If I have misunderstood this issue, please feel free to let me know.
Best Regards,
Jack
Note: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you.
Microsoft does not control these sites and has not tested any software or information found on these sites;
Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • How to delete string or line from unix file(dataset) of application server

    Hi  All,
    After transfer workarea information or all records into dataset(unix file). When I see the file in application server automatically the last line is shown a blank line. I am not passing any blank line.
    I have tried for single record than also the file generates the last line(2nd line) also a blank line.
    When I m reading the dataset, it is not reading the last blank line but why it is showing the last blank line?
    How to delete string or line from unix file(dataset) of application server?
    Please give your comments to resolve this.
    Thanks
    Tirumula Rao Chinni

    Hi Rio,
    I faced similar kind of issue working with files on UNIX platform.
    The line is a line feed to remove it use
    DATA : lv_carr_linefd TYPE abap_cr_lf VALUE cl_abap_char_utilities=>cr_lf. 
      DATA : lv_carr_return TYPE char1,                                   
             lv_line_feed   TYPE char1.                                          
      lv_line_feed   = lv_carr_linefd(1).
      lv_carr_return = lv_carr_linefd+1(1).
    Note: IMP: The character in ' ' is not space but is a special
    character set by pressing ALT and +255 simultaneosly
      REPLACE ALL OCCURRENCES OF lv_line_feed IN l_string WITH ' '.
      REPLACE ALL OCCURRENCES OF lv_carr_return IN l_string WITH ' '.

  • How to delete a perticular node from xml file using java code

    Hii All,
    Now i am trying to delete a perticular node from xml file.Like...
    XML file:
    <Licence>
    <SERVER>
    <was id="1">1</was>
    <was id="2">2</was>
    </SERVER>
    </LICENCE>
    I am working in messaging service using JABBER framework with whiteboard facility.
    Here Some commands i have created to add,modify,delete nodes from xml file.They Are
    1.If u want to add a new node then.
    create Licence.SERVER <ss id="3">ddd</ss> lic.xml
    (here u want to add a new node called "ss" under Licence.SERVER.
    And lic.xml is tyhe xml file name where it was saved.
    2.If u want to delete a node(Suppose <was id="1">),then the command should be
    delete Licence.SERVER.was:id='"1" lic.xml
    A problem arises that here it find two was attributes.And it delete the last was attribute,not the requested node.
    PLEASE HELP ME IN SOLVING THIS CODE..
    ------------------------------------

    Looks like you clicked on "Post" before you pasted in the code you were talking about.

  • Outlook 2013: Imported or copied items from .pst file disappear after a few seconds

    I am migrating from an open source email platform (Axigen) to Outlook/Exchange 2013. The Axigen system uses a connector for Outlook allowing users to use Outlook as a client.
    To move from Outlook 2010 with the Axigen server to Outlook 2013 with Exchange I have exported the entire mailbox from Outlook 2010 to a .pst file which I am then trying to import into Outlook 2013.
    The import process appears to complete successfully and the imported items show up in Outlook 2013 - but only for a second or two. Then they disappear completely, nowhere to be found. This happens with  ontacts, emails and calendar items and the result
    is the same whether I import the entire mailbox or just a folder at a time.
    If I OPEN the .pst file into Outlook 2013 everything in it looks perfectly OK, I can view items with no problems, all folders are there with their correct content. Now if I try to move or copy
    items from the opened .pst file into the Outlook 2013 mailbox, I get the exact same symptoms as when importing. Items show for a couple of seconds and then disappear. If I copy or move a
    folder, the folder remains in the Outlook 2013 folder tree but the items in it disappear.
    Why would items be perfectly visible and readable from an opened .pst file but disappear when they are copied into the new 2013 mailbox?
    They are not visible in OWA either, btw, so this is not just Outlook not displaying them, they are really gone. Checking the folder size in Outlook shows an empty folder (size 0, 0 messages). I have tried the /cleanviews switch when starting Outlook.
    This has me completely stumped. Any ideas?
    Thanks in advance!

    More strangeness:
    I set up an Android phone to sync with this account just now. I imported my contacts list from the phone into the Exchange account. After sync, all the contacts are perfectly visible on the phone, but NOT in Outlook 2013 or in OWA...
    So maybe it is some sort of display filter thing after all? 
    That's unbelieveable that message is visiable in Android phone through Exchange ActiveSync but cannot be viewd in OWA...
    For the database session, we may enable
    Exchange Mailbox Audit logging(http://technet.microsoft.com/en-us/library/ff461937(v=exchg.150).aspx) to check if the message is indeed upload into DB from Outlook.
    For the client level, please enable Outlook logging to log what happens inside outlook to aid in your troubleshooting.
    We can enable Outlook logging in Outlook 2013 under File > Options > Advanced > "Other" section
    Log files are created as .etl files and stored in %userprofile%\Local Settings\Temp.  A new log file is created each time Outlook starts.
    Cheers,
    Tony Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please contact
    [email protected].
    Okay, I have enabled Outlook logging. However I cannot find any way to read those .etl files.
    I also enabled audit logging in Exchange but as I understand it that will not log operations performed by the mailbox owner, only non-owner access. 
    I think I am close to giving up on this. I can't believe an enterprise email platform will simply delete messages copied into a mailbox without any error message whatsoever, and no way for an admin to track what is happening.
    It is definitely happening when syncing with Exchange, so there must be something in these items (and
    remember this happens not only to email messages, but also to Contacts) that makes the Exchange server decide these messages should be discarded witout warning.
    One other thing: Folders copied from the .pst are visible on Outlook (although their contents are deleted) but not on ActiveSync clients. If I create a new folder in the mailbox, it syncs as it should.

  • Set a timeout for "read from text file"

    I Need to read from a text file on a remote pc and use the read from text file function to do this. It wotks but sometimes this pc is down causing long wait times in my vi.
    Is there a way to set a timeout for the read from text file function, or is there an other solution?
    Thank you

    You could check that the path is valid first before you attempt to read the file.  hen put the file read in a True-False case structure based on the results of the check.  You can use the function "Check if File or Folder Exists"  It checks whether a file or folder exists on disk at a specified path. This VI works with standard files and folders as well as files in LLB files.   The function is found in the File I/O --> Advanced File Functions palette.
    Tom

  • How can I delete all javascript code from a file

    We need to delete all the javascript code from our illustrator files. Right now I need to click on each element and check my SVG interactivity window for any javascript code, then trash it from that window. Very time intensive. Any ways to make a complete elimination of javascript code?

    sudo -u _cyrus /usr/bin/cyrus/bin/ipurge -d 0 -f user/mailboxname
    HTH,
    Alex

  • Settings for loading from FLat File in BI7

    Hi guys
    i am trying to load data from a csv file. i used MS excel to create this cvs file. now in BI-7 what settings do i need to use to load the data. i need info like "Seperator"  and "Replacement for Blank".
    i have already tried  ; and , for seperator, but the preview is all messed up.
    thanks

    Hi Adnan,
    First you create a source system for flat file loading.
    Do this in RSA1 - Source Systems. Via context menu, create it in node "File".
    Then, goto the RSA1 - Datasources view. Choose the corrrect source system.
    Create a datasource and assign fields.
    Use your datasource to load data into infoobject, datastore using a transformation between the datasource and datastore.
    Create and schedule an infopackage to load to PSA.
    Create and schedule a DTP to load into target.
    Setting for flat file loading
    in SPRO
    Thousand separator
    dec.pointer separator
    field separator
    Field delimiter
    In info package
    External Data
    Here we can give the file path & where the file exist(wether in appllication server or client work station
    file type
    data separator
    esacpesign
    thousand separator
    how many to be igonered
    hope this will help you...............
    for more info
    Pls refer to the link below
    [http://help.sap.com/saphelp_nw04s/helpdata/en/43/03450525ee517be10000000a1553f6/frameset.htm ]
    [http://help.sap.com/saphelp_nw04s/helpdata/en/fc/1251421705be30e10000000a155106/content.htm]
    [b.i 7.0 ffile extraction;
    [http://help.sap.com/saphelp_nw04/helpdata/en/8e/dbe92341c84242be2c7d3917f1c197/content.htm]
    [https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20load%20a%20flat%20file%20into%20bw-bps%20using%20sapgui.pdf]
    Regards,
    NR
    Assign points if useful...

  • Loading data for heirarchies from flat file.

    Hi,
    I am trying to load heirarchies from a flat file. I am getting the error "Error during the calculation at the node level".
    I am not able to get the reason.I am also scpetical about this
    1.Is it necessary that the external characterics whic are used in heirarchy should already contain data?
    2.Should we create a root node before loading the data? Or will it create everything itself during the loading.
    3. Should this heirarchies be created directly on the productive system.
    regards
    Mandha

    Hi,
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/fa/e92637c2cbf357e10000009b38f936/frameset.htm
    GTR

  • Waiting for read from 'fileAdapter'. Asynchronous callback.

    I am trying to implement a mid process receive activity for receiving from a file adapter.
    I have used correlation set for the first receive activity which receives input from a web client and second receive activity receives from adapter.
    the problem is that in the Flow Trace when the second receive activity keeps showing pending and waiting for read from 'fileAdapter'. Aynchronous callback.
    Any help would be appreciated

    Hello,
    I have got the same problem. I tried set-up CorrelatonSet, but I could not find solution ... Receive activity is still waiting for dequeue from AQ (and what's more - message is removed from queue by AQ adapter immediately after BPEL process is deployed. Receive acitivity hasn't information about this dequeue - it's still waiting).
    Could you pls. write more information???
    Many thanks,
    martin

  • File reporter questions - pulling data from db / files for o

    I've been trying to find a way to query or pull file and path info for volumes from the file reporter databases without needing to give access to the file reporter app. I have an outside group that I need to provide the file structure to, but don't need to give all of the info to, and need to provide it in the form of a text file. I could script this out, but if file reporter does this also, I don't see the point in duplicating the data out there.
    In reviewing the content of the sqlite databases it doesn't appear that the actual file system info. I see a lot of references to what I think may be files in the directory structure that the databases are located in. looking over the logs and debug files in these directories they look like they may contain what I am looking for, but I'm not sure what can be used to open or extract the data from them. Does anyone know what I would use to open or extract the zcf files located in them?
    so I've made a few attempts at trying to figure out the format these are in, but know they are not sqlite data... not zip or gzip... but definitely some sort of data file.

    On 10/8/2012 4:46 PM, rbgnr111 wrote:
    >
    > I've been trying to find a way to query or pull file and path info for
    > volumes from the file reporter databases without needing to give access
    > to the file reporter app. I have an outside group that I need to provide
    > the file structure to, but don't need to give all of the info to, and
    > need to provide it in the form of a text file. I could script this out,
    > but if file reporter does this also, I don't see the point in
    > duplicating the data out there.
    >
    > In reviewing the content of the sqlite databases it doesn't appear that
    > the actual file system info. I see a lot of references to what I think
    > may be files in the directory structure that the databases are located
    > in. looking over the logs and debug files in these directories they look
    > like they may contain what I am looking for, but I'm not sure what can
    > be used to open or extract the data from them. Does anyone know what I
    > would use to open or extract the zcf files located in them?
    > so I've made a few attempts at trying to figure out the format these
    > are in, but know they are not sqlite data... not zip or gzip... but
    > definitely some sort of data file.
    >
    >
    rbgnr111,
    It sounds like you might be better off exporting a report which suits
    your needs as a CSV file (which can be done from within File Reporter)
    and stripping out unnecessary 'columns' of metadata after the fact. This
    would be a great deal simpler than extracting the data from the database.
    - NFMS Support Team

  • How do I delete the apple folder in common files

    I am trying to delete the apple folder from common files.  When I click on apple, internet services comes up.  I tried to delet those but it says they are open in the internet.  I don't know how to close them.  Please help.

    I just fixed this.  I had to,delete iCloud from my PC.  Make sure it is still on your ipad, etc.!!!  There were programs open in iCloud preventing me from deleting all the apple files so that I could reinstall itunes.  I did not find that out on any of the apple support postings.  Apple should have told me to delete iCloud as they did the other components. 

  • While uploading data from local file

    Hi,
    While uploading data from local file having the header text into interal table using the GUI_UPLOAD function module,there is problem in upload because of header text in file, do we have any option in this FM itself to skip this header text and upload from sdecond line because as per our requirement we can't delete this header text from the file.

    Hi Manish,
    Do you have the problem while uploading? Is it giving any error?
    If not, if your uploading is successful into the internal table, then delete the first row, which is header, from the internal table using index eq 1.
    Regards,
    Chandra Sekhar

  • Need help with java File IO ( Removing the first line from a file )

    Hi guys ,
    I am currently doing a project in which I need to extract out the values from the second line of a file to the end. The question is how do I ignore the first line ??
    I thought of two possible answers myself. One is to use randomaccessfile to read and rewrite. But the file may be HUGE so storing the whole file in memory is not a very good idea.
    Second is to jump to second line before doing while ((str = in.readLine()) != EOL) ... or just delete the first line from the file. Can anyone suggest a better solution or show me some sample codes ? Thanks.
    regards
    billyam

    Just skip the first line (bufferedReader.readLine()), add a comment, and then handle the rest of your file

  • Recently, U2 music appeared on my ipod without my requesting it or wanting it. I was able to delete all of the songs except for one. How do I delete the last one from my ipod? The song does not show up in iTunes when I plug my ipod into the computer.

    Recently, U2 music appeared on my ipod without my requesting it or wanting it. I was able to delete all of the songs except for one. How do I delete the last one from my ipod? The song does not show up in iTunes when I plug my ipod into the computer. The version installed on my ipod is 7.1.2(11D257).

    Hi donfrommars,
    Welcome to the Apple Support Communities!
    Please use the following article for information and instruction on deleting the U2 album from your devices and account.
    Remove iTunes gift album "Songs of Innocence" from your iTunes music library and purchases
    Have a great day,
    Joe

  • How do I delete an iCloud account from my iPad that I no longer know the password for and have no access to the email account to change it?

    How do I delete an iCloud account from my iPad that I no longer know the password for and have no access to the email account to change it?

    You will need the password. If you can't get it reset via http://iforgot.apple.com (if you remember the answers to the account's security questions then you should be able to reset it via them) then try contacting Support in your country, they should be able to reset it.
    Contacting Apple about account security : http://support.apple.com/kb/HT569
    If your country isn't on that page then try this form and explain and see what they reply with : https://ssl.apple.com/emea/support/itunes/contact.html

Maybe you are looking for

  • How can you save an app's data?

    Hi, how can you save an app's data? For example, if I want to switch some applications on my iPod with those were on my iTunes Apps Library, iTunes will force to remove the apps that was on my device and sync the apps that I want onto my iPod. But on

  • How can I do a clean install of Mountain Lion?

    I have an older MacBook Pro that I'm selling. I upgraded to Mounbtain Lion, but there was not an option to do a clean install (wiping everything clean and starting fresh). I want to do this to make sure all of my data is removed before I sell it. How

  • How to find out the PO line items for which no GRN has been done

    Dear Friends, I need a report which will show all the fully open PO items for which no GRN has been done. In ME2N when I give the selection parameter "open goods receipt" then it shows all the line items with partially & fully open. But my requiremen

  • Backlight does not turn on anymore Satellite M70-147

    Hello outhere, The backlight of my M-series M70-147 does not turn on anymore. I first noticed this when awakening the laptop from standby or hibernation mode. At first I thought the screen was not working anymore, but when I looked closely I could st

  • Error message 4850 when trying to burn a playlist to disc

    I have recently upgraded my laptop to a dell E6500, and have downloaded the latest version of itunes. Since I have had this new laptop, and new version of itunes, I have been unable to burn discs from playlists. It starts to write a track, and then i