472,992 Members | 3,401 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,992 software developers and data experts.

What tool generates Settings.Designer.cs?

Hello, I am trying to automate deployment of the same project to several
servers in one shot (e.g. dev, qa, etc...). Depending on the server,
the app should access a different web service. The web service seems to
be defined in the Settings.Designer.cs (which is a generated file). I
am wondering which tool generates this file.

Thanks.
Feb 14 '06 #1
5 16020
Hi Frank,

That file is generated by SettingsSingleFileGenerator and it shouldn't be
modifed.
Instead you should consider alternative ways, such as user-scoped settings
or putting url in the user.config file or something like that.

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"Frank Rizzo" <no**@none.com> wrote in message
news:eF**************@TK2MSFTNGP11.phx.gbl...
Hello, I am trying to automate deployment of the same project to several
servers in one shot (e.g. dev, qa, etc...). Depending on the server, the
app should access a different web service. The web service seems to be
defined in the Settings.Designer.cs (which is a generated file). I am
wondering which tool generates this file.

Thanks.

Feb 15 '06 #2
I don't understand why you say it shouldn't be modified. It is
well-documented how to make your own. Personally, I like this example of
how to do it:

http://www.drewnoakes.com/snippets/W...rVisualStudio/
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:uw**************@TK2MSFTNGP14.phx.gbl...
Hi Frank,

That file is generated by SettingsSingleFileGenerator and it shouldn't be
modifed.
Instead you should consider alternative ways, such as user-scoped settings
or putting url in the user.config file or something like that.

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"Frank Rizzo" <no**@none.com> wrote in message
news:eF**************@TK2MSFTNGP11.phx.gbl...
Hello, I am trying to automate deployment of the same project to several
servers in one shot (e.g. dev, qa, etc...). Depending on the server, the
app should access a different web service. The web service seems to be
defined in the Settings.Designer.cs (which is a generated file). I am
wondering which tool generates this file.

Thanks.


Feb 15 '06 #3
I was trying to say that the generated file shouldn't be manually modifed.
Sorry for the confusion :-)

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP10.phx.gbl...
I don't understand why you say it shouldn't be modified. It is
well-documented how to make your own. Personally, I like this example of
how to do it:

http://www.drewnoakes.com/snippets/W...rVisualStudio/
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:uw**************@TK2MSFTNGP14.phx.gbl...
Hi Frank,

That file is generated by SettingsSingleFileGenerator and it shouldn't be
modifed.
Instead you should consider alternative ways, such as user-scoped
settings or putting url in the user.config file or something like that.

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"Frank Rizzo" <no**@none.com> wrote in message
news:eF**************@TK2MSFTNGP11.phx.gbl...
Hello, I am trying to automate deployment of the same project to several
servers in one shot (e.g. dev, qa, etc...). Depending on the server,
the app should access a different web service. The web service seems to
be defined in the Settings.Designer.cs (which is a generated file). I
am wondering which tool generates this file.

Thanks.



Feb 15 '06 #4
Miha Markic [MVP C#] wrote:
I was trying to say that the generated file shouldn't be manually modifed.
Sorry for the confusion :-)


How do I invoke this code generation tool from the command line?
I don't see any SettingsSingleFileGenerator.exe files.
Feb 15 '06 #5
You can't easily afaik - this is a COM component invoked through certain
inerface(s).

--
Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

"Frank Rizzo" <no**@none.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Miha Markic [MVP C#] wrote:
I was trying to say that the generated file shouldn't be manually
modifed. Sorry for the confusion :-)


How do I invoke this code generation tool from the command line?
I don't see any SettingsSingleFileGenerator.exe files.

Feb 16 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
53
by: Paul Rubin | last post by:
I've been approached about writing a Windows app which will need a really professional looking GUI. Forget TKinter, this has to actually look good (real artists will be available to get the visual...
3
by: Chris Cioffi | last post by:
I started writing this list because I wanted to have definite points to base a comparison on and as the starting point of writing something myself. After looking around, I think it would be a...
2
by: Shane | last post by:
Does anyone know how to add user scoped settings to My.Settings at runtime? I know how to use the 'My Settings' designer to add user settings at design time. I also, know how to create a class...
9
by: cj | last post by:
I found this code online and it works fine but I don't understand exactly how and am trying to. Can someone help me? Public Class Form1 Inherits System.Windows.Forms.Form #Region " Windows...
3
by: Navneet Gupta | last post by:
Hi, I am a novoice developer for XML and XSLT. I need a tool which generates XSLT files. The UI should be similar to the transformation maps we create in BizTalk; it would be greate if I can...
22
by: MarkusR | last post by:
I am currently using StarTeam for my source control. (Will eventual switch to whatever the latest Visual Source Safe is going to be called). With debug, installers, deploy and everything the...
6
by: WT | last post by:
Hello, Using VS2005. I have an assembly library that can be called from a Web site asp.net application or from a winform application. From this library I need to retrieve a path using simply a...
5
by: Rainer Queck | last post by:
Hello NG, Is it possible to share the settings of an application with a class libreary? In my case I have a application and a set of different reports (home made) put into a class library. The...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
3
SueHopson
by: SueHopson | last post by:
Hi All, I'm trying to create a single code (run off a button that calls the Private Sub) for our parts list report that will allow the user to filter by either/both PartVendor and PartType. On...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.