Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-15-2004, 09:23 AM
a_t_jackson a_t_jackson is online now
Registered User
 
Join Date: 03-11-2003
Location: Belfast, Northern Ireland
Posts: 23
Problems with "Replace In File"

I have C# web service project called MyService.csproj. In MyService.asmx.cs I have a description field:

[WebService(Description="My Web Service")]

I want to change this field to include a version number before I compile the solution that contains the project so it will look something like this:

[WebService(Description="My Web Service v1.0")]

I'm completely new to regular expressions and have tried unsuccessfully to use them in "Replace In File" without success.

Expression to find:
[[WebService(Description="My Web Service ?")]]

Replace matches with:
[[WebService(Description="My Web Service %FILE_VERSION%")]]

This doesn't work. Any ideas?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 08:32 AM.


Copyright © 1999-2023 Kinook Software, Inc.