How can I template my .sln file to point a website project to variable IIS instances?

(Copied and pasted from my StackOverflow question.)
I have the following set up in TFS:
$/Arena/Main
↳$/Arena/Dev
↳$/Arena/Prod
.../Dev and .../Prod are
branches of .../Main.
Arena is a website, and my Dev workspace
sits in \inetpub\wwwroot.
Arena is actually a third party product we use that I write modifications/additions to, so it installs to \Program
Files (x86)\Arena ChMS\. That's where my $/Arena/Main workspace
is.
I want to have Arena.sln sit
at $/Arena/[branch]/Arena/Arena.sln.
Since it's a website, I want the sln to reference different local IIS instances. For dev,
it should reference https://dev.foo.com and
for main, https://main.foo.com.
Each of those domains is a line in my HOSTS file. (Prod references https://www.foo.com,
but it's on a different machine.)
The Arena website's section in main's Arena.sln looks
like this:
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "https://main.foo.com", "https://main.foo.com", "{3141B9EC-1C9B-466E-B809-ED36EAD2C63B}"
ProjectSection(WebsiteProperties) = preProject
SccProjectName = "SAK"
SccAuxPath = "SAK"
SccLocalPath = "SAK"
SccProvider = "SAK"
UseIISExpress = "false"
TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.5.1"
Debug.AspNetCompiler.VirtualPath = "/main.foo.com"
Debug.AspNetCompiler.PhysicalPath = "..\Arena"
Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\main.foo.com\"
Debug.AspNetCompiler.Updateable = "true"
Debug.AspNetCompiler.ForceOverwrite = "true"
Debug.AspNetCompiler.FixedNames = "false"
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.VirtualPath = "/main.foo.com"
Release.AspNetCompiler.PhysicalPath = "..\Arena"
Release.AspNetCompiler.TargetPath = "PrecompiledWeb\main.foo.com\"
Release.AspNetCompiler.Updateable = "true"
Release.AspNetCompiler.ForceOverwrite = "true"
Release.AspNetCompiler.FixedNames = "false"
Release.AspNetCompiler.Debug = "False"
SlnRelativePath = "..\Arena"
EndProjectSection
EndProject
How can I make it so that Dev's
Arena.sln references https://dev.foo.com and ..\wwwrootthroughout
the sln?
I can have separate cloaked copies of Arena.sln in the branches/workspaces but then changes in dev's sln (added projects, etc) won't be propagated to main. I would like to have a sln template that's either filled in by TFS automagically, or gets its values
from a separate cloaked file that sits alongside it.
A last resort would be getting its values from environment variables.  That's not ideal because it means that I could not switch solutions via VS's TFS Team Explorer widget (since VS's environment is set when it's opened), unless there's a way to have
a batch file run when Team Explorer switches workspaces.
Any ideas?

Hi Jordan,
I am trying to involve someone to further look at this issue. There might be some time delay. Appreciate your patience and thanks for your understanding.
Best regards,

Similar Messages

  • How can I make an ant file that launches an AS project app in a debug flash player that traces to the flex console?

    How can I make an ant file that launches an AS project app in a debug flash player that traces to the flex console?
    Basically I like the control over the compiling process that I get by using Ant - but I really want traces to come up immediately without having to switch contexts.
    I have an ant file that successfully launches a swf in the flashplayer - but I don't know how to make the flex console start displaying the trace output. I assume that I will have to point it to the appropriate trace output file - but I am not sure how to have ant even address the console.  Is this possible?
    Here is the the target node from my ANT file:
        <target name="launch">
            <exec executable="${FLASHPLAYER_EXE}" errorproperty="trace.output">
                <arg line="'${DEPLOY_DIR}\test.swf'" />
            </exec>
        </target>
    Thanks for any thoughts, or alternatives!

    For the record, I ended up using Logwatcher - it worked perfectly.
    http://graysky.sourceforge.net/

  • How can I convert an odg. file to a pdf. file?

    Hello, how can I convert an odg. file to a pdf. file?
    When choosing Drawing as template in OpenOffice, it saves projekt as odg. which apparently gives difficulties compared to pdf.

    Try this: http://www.convertfiles.com/convert/document/ODG-to-PDF.html
    Let me know if it helps,
    Kevin

  • How can I combine different pdf files in one?

    How can I combine different pdf files in one?

    Sara,
    It is not working. I wish to decline in having the pdf pack. How can I give up this purchase? I definitely do not want the Adobe PDF Pack anymore.
    Who do I have to contact or what do I need to do to cancel this purchase?
    Flávia
    Enviado do Email do Windows
    De: Sara.Forsberg
    Enviado: terça-feira, 6 de maio de 2014 14:59
    Para: Eu
    How can I combine different pdf files in one?
    created by Sara.Forsberg in Adobe PDF Pack - View the full discussion 
    Hi Flávia,
    Adobe PDF Pack is an online subscription--it definitely allows you to combine several files into one PDF file. For more information about PDF Pack, see Reliably Create PDFs, Convert PDFs, & Merge PDFs Online | Adobe PDF Pack. If you don't have the full version of Acrobat, this is a great solution for combining PDF files.
    However, if you're using Acrobat (not Adobe Reader), you combine files by following these steps:
    Open a PDF file that you want to add pages to.
    Click the Pages pane on the Tools panel (on the right side of the application).
    Click Insert From File, and choose the file that you want to combine with the PDF that you opened in step 1.
    Make any changes necessary in the Insert Pages dialog box--these settings determine where the new file will be inserted.
    Click OK.
    Please let me know how it goes.
    Best,
    Sara
    Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6358990#6358990
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Adobe PDF Pack by email or at Adobe Community
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • How can I move an icon/file from one screen of my ipad to another?

    How can I move an icon/file from one screen on my ipad to another?

    Press and hold the icon until they start to wiggle. Then while holding it, drag it to the edge of the screen and wait for the page to switch, then let go of the app

  • I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?

    I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?
    Thanks!
    David

    Either of these should help.
    http://grandperspectiv.sourceforge.net/
    http://www.whatsizemac.com/
    Or search 'disk size' in the App Store.
    Be carefull with what you delete & have a backup BEFORE you start, you may also want to reboot to try to free any memory that may have been written to disk.

  • How can  I checkout an existing file from CVS without going through the wiz

    How can I checkout an existing file from CVS, that is not already in my local jdev, without going through the wizard and checkingout everything?

    You can't. AI doesn't produce .PLT files.

  • How can I transfer a sound file from my "Voice Memos" app on my iPhone to my iPad?

    How can I transfer a sound file from my "Voice Memos" app on my iPhone to my iPad?

    In iTunes with your iPhone connected, click on the iPhone device, select the Apps tab, scroll down to the File Sharing section and pick an app that plays Quicktimes ("Files Connect" works in this example, but I'm open to suggestions of better apps for playing transferred Quicktimes) and drag your Quicktime from Finder to the Documents pane for the File Sharing app.   Once the file transfer is complete, go to the app on your iPhone to play the Quicktime.

  • How can I delete an old file from my library on iTunes

    Occasionally I have to replace PDF manuals with ones that have been updated.  But after I sync the new file the old one remains on my Mac itunes library.  How can I delete the old file?  So far all I do is deselect the old file but it's still there.  Sooner or later there will be more old files then current ones making it hard to manage.
    Thanks in advance.

    You can do this with or without the iPad connected to your Mac.
    Launch iTunes on the Mac. Click on Books under the Library heading. Click on the PDFs. Then click on the PDF that you want to delete in order to select it, and go to Edit>Delete and follow the on screen prompts.
    if you are using iTunes 11 and do not have the sidebar enabled, and wish to do so, go to View>Show sidebar or use the keyboard shortcut OPTION+Command+S.
    If you do not want to enable the sidebar, the library items can be accessed in the button in the upper left corner of the iTunes window.

  • How can I prevent a PDF file from being copied, printed or downloaded? Students should only be able to view the text and and not distribute it in any way.

    How can I prevent a PDF file from being copied, printed or downloaded? Students should only be able to view the text and and not distribute it in any way.

    You can prevent it from being printed by applying a security policy to it
    in Acrobat. The rest can't be prevented, unless you spend  a LOT of money
    on DRM protection.

  • How can I open a cc2014 file in my cs6 version of Indesign ?

    How can I open a cc2014 file in my cs6 version of Indesign ?
    I have several files that has been saved in a cc2014 version and I can't open them in my CS6 version of Indesign.
    I don t have access to anyone who have the cc 2014 version to convert the file.
    How can I do it from my cs6 version?
    THANKS!

    You can't do it from CS6.
    You have to export to IDML from InDesign CC2014 (or whatever the version it was created in) and then open the IDML in the earlier versoin of InDesign.
    All explained in the FAQ on the main forum page.

  • How can I make a .gif file work in Keynote on my iPad Mini?

    How can I make a .gif file work in Keynote on my iPad Mini?
    Have saved a .gif file to my Camera Roll, and it works fine as I have checked it through mail. When I import it into Keynote however it won't animate. Even when I play slide. Any suggestions?

    The can use apps such as Apple's Pages app for Word documents and Numbers for Excel spreadsheets, and from third-parties apps such as Documents To Go ('premium' version) and QuickOffice Pro HD.

  • How can open a html, pdf files from the server (c:\foldername\filename)

    Hi all,
    I am developing an application. in this app i have to implement RMI.
    My problem is this, How can a client open a files from the server.
    all the html, pdf files are stored in the server's directory like C:\audit\filename.
    There is a folder on the server's C directory which contains all the html , pdf files.
    please tell me how can a client open a file from the server using RMI.
    Please send me the solution as soon as possible.
    Thanks & Regards
    Bhavishya

    That's doing it the hard way. Why not use HTTP or FTP?

  • How can I hide the class file ??

    Hi !
    I has a question, when i write a program of Java, then use the command "javac" to compiler to class file for other people using, but the class file can be disassembled and convert to source code. How can I hide the class file and let people can not disassemble, or can not see the source code. Thinks

    See these....
    http://www.saffeine.com/
    http://www.jarsafe.com/
    I recently read this. This will help you.
    http://developer.java.sun.com/developer/qow/archive/160/index.jsp
    Enojy....
    Rajesh

  • How can I convert a class file to Exe file

    hai
    How can I convert a class file to Exe file

    Please search the forums before asking questions - this has been answered hundreds (really!) of times.

Maybe you are looking for

  • Printing Chinese Characters in Smart Forms

    Hi, Iu2019m trying to print Chinese characters via smart forms. However during print preview or print, all Chinese characters are showing as # symbols. I have researched and implemented for some possible solutions posted in the forum like: a.) Settin

  • When sending e-mail, a message says that the sent folder is full,-- even though it is not-- however the mail still gets sent. No problem sending mail to myself

    I am running Thunderbird version 33.1 Recently, when sending e-mail, I get an error message indicating that the sent folder is full and that I should empty or compress it to fix the problem-- so I emptied it-- problem remains. Also, there is no recor

  • Encryption of Web Services limits size of payload?

    I am running weblogic 9.2 and we are moving from axis to wls for the security features in the web services. I am getting an ArrayIndexOutOfBoundsException in weblogic.xml.crypto.encrypt.CipherWrapperInputStream when I am receiving a large message fro

  • Exam guides for 1Z0-144 & 1Z0-146

    We have exams guides for 1Z0-051 & 1Z0-052 like http://www.oracle-base.com/misc/OCPCertification.php Do we have such books for 1Z0-144 & 1Z0-146 exams too? If not, please also let me know the best books to study for 1Z0-144 & 1Z0-146 exams? Thanks, G

  • Logic Pro 9.1.8

    After clean reinstalation OSX 10.7.3 and Logic 9.1.8 update, Logic crasch just after typing my licence code. Is it here somebody who can help me? Below is detailed reports Process:         Logic Pro [288] Path:            /Applications/Logic Pro.app/