473,407 Members | 2,306 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 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 16087
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.