IDE - My.Application.Info.Version.Build Returns Wrong Value

Mar 6, 2009

We're using team build with AssemblyInfoTask to increment the build number in a nightly build. The build number is displayed in the application using My.Application.Info.Version.Build.This has been working fine for years. But since we branched the sources and started using file references instead of project references (have no idea if that's what causes the problem), the last build number is displayed instead of the current one.

The compiled files (dll's and exe's) have the correct build number, if checked by right clicking the file in Explorer and viewing detailed properties. However when the same exe-file is executed, the UI displays the previous build number.If I edit the AssemblyInfo.vb file manually (just set another number, save the file, and set it back again), both file properties in Explorer and the UI at runtime displays the correct build number. How can this happen? What can be done to avoid this strange behavior?

View 1 Replies


ADVERTISEMENT

Why Does My.Application.Info.Version.ToString Always Returns "1.0.0.0"

Feb 27, 2011

The version in the Publish page of the project properties is set to 1.4.0.1, but My.Application.Info.Version.ToString returns "1.0.0.0"

View 7 Replies

How To Access Build Version Info In VS2010 VB

May 6, 2011

I would like to build a text string that is the build version of my program. In VB6 I would use the values retrieved from App.Version.Major/Minor. I have looked for something similar in VS2010 VB but unable to find it. I did find information on the .NET framework, but I am looking for a build version of my program.

View 3 Replies

How To Compare Against Application.info.version To See If It's Latest Version

Jun 24, 2010

I have a XML file with the latest application version number, I have this loaded into a variable, how can i compare this against the application.info.version to see if it's the latest version??

View 3 Replies

Export Application Version To Txt File On Build?

Aug 21, 2011

I am trying to create an autoupdater for my application, and I came up with an idea to use the "After build" event to export the application version to txt file.Just a simple txt file with lets say "1.0.1" in it.

View 2 Replies

Directory.GetLastWriteTime Returns Wrong Time?

Nov 26, 2009

I'm trying to get the last time the directory was updated (written to), and if it's later than the date i have stored i want to process that directory for new/changed information.The problem I'm having is that the Directory.GetLastWriteTime(path) seems to only get updated with creating and deletion of files.when a user just updates an existing file (for example a text document) the GetLastWriteTime remains the same for the directory even though the modified time of the text file has changed.

I don't want to itterate through the files in the directory, is there any reason the directory last write time does not get updated when modifying an existing file?

View 9 Replies

Can't Get The Build To Build A Release Version In Vb

Jun 17, 2009

I was able to build both debug and release versions of my VB code before now I no longer have the option to build a release version. How do I turn it back on

View 3 Replies

GridView Returns Wrong DataItemIndex When Filtered Or Sorted?

May 1, 2010

This is driving me out of my mind. My Gridview returns the wrong rowindex after sorting or filtering. I am using a detailsview to edit the selected record however I found out I was editing the wrong record. I am using this statement to retrieve the selected record from the gridview

DetailsView1.PageIndex = GridView1.SelectedRow.DataItemIndex however this only returns the correct index if the grid stays in the original form, meaning not sorted or filtered. I guess the statement returns the index with respect to the gridview not the actual table. First of all is this this a .NET bug? and second of all how do I retrieve the correct record to edit it in the detailsview either by getting the correct index or a key such as AssetID in my case. I am using VisualStudio 2010 Professional and the code is in VB. Please do not give me C# as I don't use it.

View 1 Replies

Computer.FileSystem.SpecialDirectories.Documents Returns The Wrong Folder Name In VB2008?

Apr 2, 2011

TempUserPath = My.Computer.FileSystem.SpecialDirectories.MyDocuments Returns the string "C:UsersOwnerDocuments" but that folder is actually named "My Documents" (i.e., is "C:UsersOwnerMy Documents" in the Finder).When I try to create a new folder called "Documents" in the Owner directory, Windows asks if I want to merge its contents with the My Documents folder. If I say yes, I am left with only the My Documents folder and none named "Documents".Thus when I attempt to read or write a file to the TempUserPath location, I get an "access denied" error. This happens even after I manually change the name of the folder from "My Documents" to "Documents".

View 3 Replies

Getting A Version Info Of An Executable?

Oct 8, 2011

I'm wondering how do I get a version of an external executable when Launcher_Load, then after version is found I want it to Label1.Text = "[version]"I've tried searching through websites and from codes I found it didn't manage to do the job.

View 2 Replies

SQLDataReader - The .read Process Returns No Info - Data To Retrieve

Jan 18, 2010

Imports

System.IO

Imports

System.Windows.Forms

Imports

[CODE]...

I don't understand why nothing is being returned from the SQL)

View 3 Replies

Avoid DLL Version In Build Project?

Jan 30, 2010

[code]....

View 2 Replies

Change Executable Version Info?

Aug 3, 2011

i'm using VB 2010 Express and I want to change the Executable Version Info?

View 2 Replies

Check Version Info From Webserver?

Jan 5, 2010

My question is im rebuilding an app i made years ago but i want to add the auto update i have the file downloader down to a T but i dont wanna use the Click once auto-update So i want to read a text file from a online server and then check if the version info inside matches the my.setting.build string inside my application if it doesnt it opens theupdate.exe the that dose what i have it programmed to to

View 3 Replies

VS 2008 : Build An Application To Monitor A Site To Build Statistics From The Data Being Read?

Mar 3, 2010

I'm trying to build an application to monitor a site to build statistics from the data being read. This HTML looks like this.

<div id="history">
<h4>HISTORY</h4>
<table border="0" cellspacing="0" cellpadding="0">

[code]...

Now I can read the html and put the text anywhere, I just don't how to read specific parts so I can separate the data out.

View 17 Replies

Checking The Build Version Of The Browser Once Logging In?

Jun 4, 2010

Due to the July 13 end of life support for IE6 minus SP3, I am planning on checking the build version of the browser once logging in. I am able to return the browser major and minor versions but cannot find a way to get to the build/patch version which tells what SP the user has. I need to confirm the user is using an IE version higher than 6.00.2900.5512.

View 9 Replies

Increase The Version Of The Build File Automatically?

Nov 17, 2009

I've got vb Express and want to increase the version of the build file automatically. I know it can auto change the publish-version, but i never publish files. I use the build option and get the application at: ...Visual Studio 2008ProjectsWindowsApplication1WindowsApplication1inRelease. So how can vb increase the revision or build number automatically?

View 2 Replies

Start App From Commandline And Return Version Info?

Jan 23, 2012

I am developing an application that will run with a GUI when no commandline args are passed, but can also run invisibly if started from the commandline and passed necessary arguments. I have been asked to include a /version argument that will return a version number. For simplicity this version number can be stored in a variable. Without doing something like writing the version number out to a file, what is the best way for me to return this info to the caller? My app will almost always be started from a script, so the script will have to read the version number and make decisons based on the version.

View 2 Replies

[2008] Application Deployment - Build->build Myapp

Mar 7, 2009

I just created a simple application. I Builded that using build->build myapp. I got .exe of that application. i runned. all went fine. but when i closed that app, even after closing it is in memory. it is still running. how to deploy it properly?

View 12 Replies

IDE :: Incorrect Assembly Version After Compiling New Release Build?

Sep 21, 2009

Every time I compile a new release build in vb.net 2009, the file version number of my main exe is correct, but the assembly version number is the same as the last build instead of the current version even though I manually change the file and assembly version in the design studio to be the same prior to compiling.The only way I can get the assembly version to be correct is to close Visual Studio and delete the obj folder. Then if I open the solution and recompile, all is well.

Here is the information copied from the About box in VS:

Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework

[code]....

View 4 Replies

Build A Function Or Sub Using HTTPRequest That Makes A Multipart Post Using That Info?

Nov 15, 2011

build a Function or Sub using HTTPRequest that makes a multipart post using that info?

-----------------------------23281168279961
Content-Disposition: form-data; name="ACAO"
-----------------------------23281168279961

[Code]......

View 3 Replies

Application.Info Not Showing Correct Info?

Sep 6, 2011

under my project I have the following

However when I use this code.

lblABOUT3.Text = "Version : "
lblABOUT3.Text += My.Application.Info.Version.Major.ToString()
lblABOUT3.Text += "." & My.Application.Info.Version.Minor.ToString

[Code]....

View 8 Replies

Make Express Version Do A "clean Build"?

Feb 8, 2012

Is there a way to make the express version do a "clean build"?

Some of my project compilations have developed a problem which prevents debugging.

"The breakpoint that isn't working will display a message if highilighted with the mouse. The breakpoint will not currently be hit. No symbols have been loaded for this document."

The difference I've seen between the project folders for an app that will debug vs one that will not debug is that there is no ".pdb" file in the folder where the application to be debugged is running.Debug (F5) or "Build" no longer create this file.

Many of the discussion participants suggest deleting the "obj" and "bin" folders before compiling - on the assumption that this will "force" a "clean build" - is that supposed to be true? My express version has no "clean build" option, and deleting the obj and bin folders doesn't cuase them to be completely rebuilt.

Is "msbuild" the only way to force a complete build when you have the express version?

Also - how do I determine/control which net framework vision vs2010 express is using?[code]...

View 5 Replies

Add "exe" Version Info To A Mobile Device Exe Created In VB?

Feb 1, 2010

I want to add version info to my mobile device exe fileand apparently the following line is not supported in CF (windows mobile 6.0), ideas?:<Assembly: AssemblyFileVersion("1.0.0.0")>I want to be able to to right-click on the .exe after it is copied over to the PC and have the version displayed in a version tab just like any other .exe. I would then be able to read this version in code from a VB6 program.

View 1 Replies

In .net, If A Function Returns An Object, Is It Wrong To Just Use The Function, _as_ An Object

Apr 30, 2009

I've got a f(x) that returns a collection of user controls. .Net lets me just treat the f(x) name as the collection.

ex)
Private Function GetCcB() As Collection(Of Reports_ucColumn)
Dim cc As New Collection(Of Reports_ucColumn)
cc.Add(Me.ucColumn0)

[code].....

View 3 Replies

IDE :: Assembly Version, File Version And Publish Version In ClickOnce In VS 2008

Mar 31, 2009

How they relate and differ from each? What are the best practices for version control? Is there a primer about publish online? Or a good book?

And is it possible to make ClickOnce and a msi in one solution of VS 2008? If so, is there any conflict or pitfall?

BTW I am using VB if that makes any difference.

View 1 Replies

Datagridview - Remove Wrong Columns And Display The Wrong Data

Jan 12, 2010

I've got a DataGridview I want to remove columns from as it greatly increases performance when I format the DGV. The first time I remove columns in a loop (using the removeat) property, everythings fine. But when I try to remove more columns in another loop, it appears to remove the wrong columns and displays the wrong data. In other words, it displays the wrong data and headers; and the columns it does show has headers and cells that don't match.

[Code]...

View 2 Replies

My.Setting Value Is Wrong Aftar Application.Restart

Apr 14, 2012

I'm using my.settings to save the load time of the solution. When my.settings.load_time value is changed and use my.settings.load_time.save() to save them. When I quit the application and manually start it again, the newly saved settings are used.When I use either application.restart. The application will use the old values for my.settings.Is there a way to restart the application using either application.restart which will use the newly saved my.settings values?

View 6 Replies

Use Of Server Side MsgBox Is Wrong In Web Application?

May 9, 2012

I have a web application based on vb.net.I used MsgBox() in my MYPage.aspx.vb where my expectation is that the user on client should click on a button and based on it I would process further.But I heard a suggestion the MsgBox() is working fine in my code cause on developer machine(my dev box) webserver is running locally. This does not work on a remote web server or in any hosted environment outside of a local server.

View 2 Replies

Running Application Can Know Name Or Other Info Of Desktop-shortcut That Started Application?

Apr 9, 2011

Let's say 10 desktop shortcuts, all with different names/icons, point to and can start the same exe application from the same directory. Is there any means for the application to know the distinct name of the shortcut that was doubled_clicked. Also is there any means for a running application to know if it was started by command line, by a double_click on the exe, by a double_click on a shortcut that points to it, or by another process' call?

View 4 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved