473,756 Members | 6,106 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

nunit cpp-sample and visual studio 2005 express

hi, getting a: .\Stdafx.cpp : fatal error C1192: #using failed on 'i:
nunit\samples\c pp-sample"'
'The filename, directory name, or volume label syntax is
incorrect.'

nunit is installed in i"\nunit.

does anyone know what the problem here is?

any pointers will be appreciated.

thanks

build log:

Build Log
Build started: Project: cpp-sample, Configuration: Debug|Win32

Command Lines
Creating temporary file "i:\nunit\sampl es\cpp-sample\Debug
\RSP00000520002 720.rsp" with contents
[
/Od /AI "I:\nunit\b in" /AI "..\..\framewor k\bin\Debug" /D "WIN32" /D
"_DEBUG" /D "_WINDLL" /D "_MBCS" /FD /EHa /MDd /Fo"Debug\\" /Fd"Debug
\vc80.pdb" /W3 /c /Zi /clr:oldSyntax /TP /FU "i:\nunit\sampl es\cpp-
sample\"

".\cppsample.cp p"

".\AssemblyInfo .cpp"
]
Creating command line "cl.exe @"i:\nunit\samp les\cpp-sample\Debug
\RSP00000520002 720.rsp" /nologo /errorReport:pro mpt"
Creating temporary file "i:\nunit\sampl es\cpp-sample\Debug
\RSP00000620002 720.rsp" with contents
[
/Od /AI "I:\nunit\b in" /AI "..\..\framewor k\bin\Debug" /D "WIN32" /D
"_DEBUG" /D "_WINDLL" /D "_MBCS" /FD /EHa /MDd /Yc"stdafx.h" /Fp"Debug
\cpp-sample.pch" /Fo"Debug\\" /Fd"Debug\vc80.p db" /W3 /c /Zi
/clr:oldSyntax /TP /FU "i:\nunit\sampl es\cpp-sample\"

".\Stdafx.c pp"
]
Creating command line "cl.exe @"i:\nunit\samp les\cpp-sample\Debug
\RSP00000620002 720.rsp" /nologo /errorReport:pro mpt"

Output Window
Compiling...
Stdafx.cpp
..\Stdafx.cpp : fatal error C1192: #using failed on 'i:\nunit\sampl es
\cpp-sample"'
'The filename, directory name, or volume label syntax is
incorrect.'

Results
Build log was saved at "file://i:\nunit\sample s\cpp-sample\Debug
\BuildLog.htm"
cpp-sample - 1 error(s), 0 warning(s)

Jan 19 '06 #1
0 1675

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

Similar topics

1
494
by: Klas Mellbourn | last post by:
I have several assemblies, in separate dll:s, each with nunit tests embedded. Every assembly requires its own config file. I would like to run all nunit tests on the same command line. Like this: > nunit-console.exe foo.dll bar.dll Both foo.dll.config and bar.dll.config exists in the same directory. What seems to happen, though, is that only one of the config files is loaded (bar.dll.config), wich causes my nunit tests in foo.dll to...
0
1814
by: serge desmedt | last post by:
Hi, Where about to start using Unit Testing for dotNet. I have experimented with the NUnit framework and have the following question: According to the documentation of NUnit , using the console it should be possible to redirect the output to a file using the /out commandline switch, like /out:filename.txt
3
3216
by: Ole Hanson | last post by:
Hi I am trying to engineer a way of testing that my logging framework is capable of writing to my eventlog. I want to include this test in my already existing NUnit tests - but I'm a little low on ideas as how to assert that I actually did write to the eventlog successfully. Naturally I want this assertion without having to open my eventlog and visually verify the writing.
4
2074
by: geoffblanduk_nospam | last post by:
I have an NUnit test plan with well over 500 tests. I now need to produce a test plan document for these tests - documenting them one by one with Word is a painfull task. I was thinking that there must be a automated way of doing this - maybe by using NDoc (although available formats don't seem particilariy suited)? Ideally the test plan would be produced with a section for every test
0
1638
by: W. Schwenkner | last post by:
I use the NUnit VS addin intensivly in development C# projects. Now I have to write a project in managed C++ and I have problems with the NUnit addin. First, the Addin extends the context menu with entries for running single tests or debug them. It seems, then on C++ prgrams it can't find the TestAttribute, so it takes a long time until the context menu appears. Second, I get no context menu entries, nor in the cpp-file nor in the h-
3
1820
by: JJ | last post by:
Hi, In Nunit testing with asp.net are you guys creating a separate Test assembly for testing or integrating right in class themselves? Is anyone using a third party Unit Test addon for Nunit to test asp.net? What is it called, and how do you like what you are using? Any problems testing user controls with it? Any body have any real world examples of Nunit with asp.net that they can share. Just a skeleton layout would suffice. How many...
1
1803
by: MD | last post by:
Hello I work in a .NET environment and I am about to create a development strategy. As part of this I am looking at implementing a testing tool to fit in with an iterative approach and NUnit seems to be the logical choice. Although it works well with very simple classes, it seems to struggle when you are confronted with anything substantial - eg an application that accesses/updates an RDBMS. For instance :-
20
2021
by: Parag | last post by:
Hi, I am trying to figure out best testing tool for my project. I have narrowed down my requirements to two tools NUNIT and VSTS unit. But I have used neither and I have to use only one of them. Hence can someone who has used them before share his/her experience on them so that I can get a better idea and make a proper choice ? Any link or suggestions are also welcome. Thanks and Regards, Parag
6
6080
by: tchaiket | last post by:
Hey all, I'm using NUNIT to test our classes. However, I don't want to hard code test data into the NUNIT classes. For example, to test adding a new Client, I don't want to hard code the Client Name, phone number, email, etc. I want to the NUNIT to read this data from a file. This way I can change the data in a file easily and test various types of test data. I think this can be done using the CONFIG file that NUNIT reads. Is
1
1052
by: Peter Kirk | last post by:
Hi I have written some assemblies which are compiled using nunit version 2.2.8.0 These assemblies are to be included in an application with other assemblies written by other companies. The problem is that the other company used nunit 2.2.0.0 This causes an exception - saying that one or other of the versions of nunit can't be found.
0
9271
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
9836
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9707
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8709
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, 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...
1
7242
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 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...
0
6533
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();...
0
5301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3804
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
3
2664
bsmnconsultancy
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...

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.