I've inherited a .NET 1.0 app that I'm converting to 2.0.
It contains a number of .xsd files (.xsd, .xsx, .cs) which get converted to
(.xsd, .xsx, .xss, .xsc, .cs, .Designer.cs).
The problem is that after VS 2005 converts these files, they will no longer
compile.. There are numerous classes with the partial keyword left off, and many
duplicate classes between the .cs and the Designer.cs.
I'm slowly converting the project, and am dragging the (.xsd, .xsx, .cs) files
into the Solution Explorer.
There are so many that it would take a week full time to try to massage them by
hand.
How can I get these files to convert properly, so that they will compile?
--
Thanks in advance, Les Caudle 2 2186
Hi,
I tried a similar scenario and it was working properly, kindly check the
following link, this may help you: http://msdn2.microsoft.com/en-us/library/aa479567.aspx
Regards,
Husam Al-A'araj
"Les Caudle" wrote:
I've inherited a .NET 1.0 app that I'm converting to 2.0.
It contains a number of .xsd files (.xsd, .xsx, .cs) which get converted to
(.xsd, .xsx, .xss, .xsc, .cs, .Designer.cs).
The problem is that after VS 2005 converts these files, they will no longer
compile.. There are numerous classes with the partial keyword left off, and many
duplicate classes between the .cs and the Designer.cs.
I'm slowly converting the project, and am dragging the (.xsd, .xsx, .cs) files
into the Solution Explorer.
There are so many that it would take a week full time to try to massage them by
hand.
How can I get these files to convert properly, so that they will compile?
--
Thanks in advance, Les Caudle
Husam - that solution won't work for me.
I'm unable to convert the existing solution. It is running 'live' on an
existing server - to be replaced by my conversion when I get that working.
So, I already have a .NET 2.0 solution, with about 1/2 of the files from the old
solution working.
I drag them in one by one.
The aspx pages convert ok, with a bit of massaging.
But the XSD files do not. For some reason, they are getting converted into
multiple files with the .Designer.cs - instead of just importing directly.
Partial classes are only created in one file, not in the others, and there are
multiple duplcate classes (that were not there before).
Anyone else with an idea?
Thanks, Les Caudle
On Sun, 15 Apr 2007 15:44:03 -0700, Husam Al-A''araj
<Hu**********@d iscussions.micr osoft.comwrote:
>Hi, I tried a similar scenario and it was working properly, kindly check the following link, this may help you:
http://msdn2.microsoft.com/en-us/library/aa479567.aspx
Regards, Husam Al-A'araj
"Les Caudle" wrote:
>I've inherited a .NET 1.0 app that I'm converting to 2.0.
It contains a number of .xsd files (.xsd, .xsx, .cs) which get converted to (.xsd, .xsx, .xss, .xsc, .cs, .Designer.cs).
The problem is that after VS 2005 converts these files, they will no longer compile.. There are numerous classes with the partial keyword left off, and many duplicate classes between the .cs and the Designer.cs.
I'm slowly converting the project, and am dragging the (.xsd, .xsx, .cs) files into the Solution Explorer.
There are so many that it would take a week full time to try to massage them by hand.
How can I get these files to convert properly, so that they will compile? -- Thanks in advance, Les Caudle
--
Thanks in advance, Les Caudle This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: c duden |
last post by:
I am attempting to encrypt some text and be able to decrypt it at a later
time. I have two methods to do this:
public static Byte EncryptText(string textToEncrypt, string
encryptionHash)
{
Byte bytearrayinput =
StringAndByteManipulation.ConvertStringToByteArray(textToEncrypt);
//DES instance
System.Security.Cryptography.TripleDESCryptoServiceProvider des = new
|
by: nanookfan |
last post by:
Hi all,
I'm having a bizarre problem converting XML files to HTML using an
XSLT. The problem is only occuring in my Netscape 7.0 browser. What
makes it more bizarre is that it is only happening when I put my XML
files and the .xsl files on my ISP's system for my home page. If I
try to open the XML files in Netscape 7.0 on my own machine (ie, not
on the ISP's system), the pages convert file and the result is
displayed in HTML.
|
by: Jon Slaughter |
last post by:
I'm having a little trouble understanding what the slicing problem is.
In B.S.'s C++ PL3rdEd he says
"Becayse the Employee copy functions do not know anything about Managers,
only the Employee part of Manager is copied. "....
and gives the code above as
.....
|
by: Rob Parker |
last post by:
I posted this (with a different subjetc line) in the ms.public.access.forms
newsgroup a few days ago, but haven't had a single response there. I'm
hoping maybe someone here can help.
Using Access 2002:
I have downloaded a tutorial database, which has a form containing a bound
object frame to display a picture. The picture field in the underlying
table has an OLE Object datatype, and when a picture is inserted (either
directly into the...
|
by: Lokkju |
last post by:
I am pretty much lost here - I am trying to create a managed c++
wrapper for this dll, so that I can use it from c#/vb.net, however, it
does not conform to any standard style of coding I have seen. It is
almost like it is trying to implement it's own COM interfaces...
below is the header, and a link to the dll+code:
Zip file with header, example, and DLL:...
| |
by: Dany |
last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by Microsoft must be installed on their servers.
Now german Umlaute (ä, ü, ö) and quotes are returned incorrectly in SOAP fault responses.
This can be easily verified:
Implement the following in a web service method (just raises a SOAPException with a...
|
by: TheLongshot |
last post by:
Ok, let's try this again.
I have an ASP.NET 1.1 application that I'm working to convert to 2.0,
but I've run into a snag.
The problem is with this line:
return
(IDataProviderBase)(((ConstructorInfo)cache).Invoke(null)
);
|
by: anide |
last post by:
Hi all I’ve some problem, I’m trying to converting a sorting algorithm from C++ to C#.
In C++ I’ve compiled it using MSVC and its working properly, and in C# I’m using .NET Framework 2.0 (Visual Studio 2005).
The problem occurred when I trying to opening and reading file:
=============
C++
=============
void LoadSourceFile(char * fileName, unsigned char * data, int length)
|
by: Jeff |
last post by:
Hey
..NET 2.0
In my code am I trying to convert an int value into a decimal:
decimal d = 0;
int k = 87664;
d = Convert.ToDecimal(k/100);
|
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
| |
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |