Svn - TortoiseSVN Hangs With .vbproj File On Initial Import To Repository?

Aug 25, 2011

we have a CollabNet Subversion Edge server running on a Windows server. Subversion Server is configured to serve via https. When trying to import a Visual Studio project folder with TortoiseSVN it hangs when adding the project file (.vbproj). Test 1: It happens exactly the same when the server is configured to serve via http.Test 2: Importing any project folder using the console utility (svn) works fine.

Both these tests lead to the conclusion that there is neither a network nor authorization problem.

View 1 Replies


ADVERTISEMENT

IDE - Unable To Read The Project File 'MyProject.vbproj' ?

Jun 14, 2012

I'm gearing up to work on a project which is migrating from VB6 to .NET 4.0. I have Visual Studio 2010 but wanted to try and open the original source code using the VB6 IDE. Can one still acquire this anywhere?I checked here:http:[url].... I have tried opening the original vb project file by changing the suffix from vbp to vbproj (let's call it MyProject.vbproj) but it just says it cannot interpret the file:

Unable to read the project file 'MyProject.vbproj'.

View 2 Replies

Visual Studio 2008 - .Net - Version Numbering In VBPROJ File?

Jun 25, 2010

Following on from my last question, are the AssemblyMajorVersion, AssemblyMinorVersion,AssemblyRevisionNumber and GenerateRevisionNumber properties required in .vbproj files?

All of our components have these entries in the .vbproj files but they are completely out of sync with the AssemblyVersion and AssemblyFileVersion entries in the AssemblyInfo.vb files.

Are they a legacy from the upgrade from previous VS versions?

View 1 Replies

Finding Project - Create A Windows Application - Have Lost The .vbproj File

Jul 6, 2009

I am running vb.net in visual studio 2005 and i am fairly new to it all, whilst trying to create a windows application i have lost the .vbproj file and am only left with the .vb code that has been created whilst i have been using the toolbox to create the application graphically. Is there anyway for me to recover the .vbproj file without having to redo the whole thing?

View 3 Replies

Which Is Better To Open .sln File Or .vbproj File

Mar 16, 2012

i was just curious to know which is better to open, the .sln file or the .vbproj file?

View 2 Replies

Get File Info From A File On A Subversion Repository?

Jul 20, 2011

I have a utility that checks various file info (size, date, location, etc) against a manifest to see that it all matches. Would anyone know if there's a way to get the last write date of a file in a svn repository, using VB.NET. The equivalent of using FileInfo.LastWriteDate.

View 1 Replies

C# - Move ReferencePath Information From A .vbproj.user (or .csproj.user) File Into The Corresponding Project File?

Nov 28, 2011

Can I safely move ReferencePath information from a .vbproj.user (or .csproj.user) file into the corresponding project file? Note: All developers will be using developing from the same location on their machines.We'd like to allow users to maintain their own settings for other things, but have this basic info be setup once and checked into source control to be shared to all.

View 1 Replies

Setting Up TortoiseSVN 1.6.6 On WinXP System?

Nov 13, 2009

I'm currently setting up TortoiseSVN 1.6.6 on my WinXP system here at work and since I use VS2005 and VS2008 regularly here I'm considering installing AnkhSVN 2.1.7444 to make things easier as at my other job I use VSS (Visual Source Safe) which integrates into VS2003, VS2005 and VS2008 and works very nicely.So for those of you who have used AnkhSVN 2.1.7444 and VS2005/2008 what's your opinion?

View 1 Replies

Open File Dialog - Specify Initial View?

May 18, 2009

i have wrote a program that allows users to open and save text files etc and it all works fine. All i was hoping to find out is if it is possible to specify the initial folder you are taken to when using the OpenFileDialog. This would be useful as the users only open and edit files from one folder which takes quite a bit of drilling down to to find.

Public Partial Class MainForm
Dim i As Integer = 0
Sub OpenToolStripMenuItemClick(sender As Object, e As EventArgs)

[Code].....

View 1 Replies

Add HostMessage.dll To Project AAA.vbproj Which Is In C:PSEAAA

Dec 9, 2009

There is a reference HostMessage.dll which is stored both in C:Frameworkin and C:PSEBinRelease.Now I want to add HostMessage.dll to the project AAA.vbproj which is in C:PSEAAA.I added it from the project property panel and I selected C:PSEBinReleaseHostMessage.dll.However after I added it I found that the reference path became C:Frameworkin automatally.

View 6 Replies

VS 2010 Application Hangs While Moving Data From Text File To Datagridview

Jun 22, 2012

I have a text file which contains large amount (around 44,948 rows/lines & 9 columns) of delimited text data in a text file which I want to populate onto a DataGridView table. I have written the below code, but the application gets hung for the rest of the time & so I have to stop debugging the program.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim x As New IO.StreamReader(fileLocationTxt.Text)

[Cdoe].....

View 5 Replies

Asp.net - MSBuild _CopyWebApplication Not Copying <link> From Vbproj

May 11, 2011

We have a CMD file which loads an MSBuild XML file and builds and publishes our VB .NET Web App. I noticed today that one of the user controls we're using is not being copied to the UserControls folder in the output directory. However when I build and publish the project from within Visual Studio 2008 that file is there.

I believe the reason this is happening is because the file that is in the UserControls folder in the project is a shortcut to a file in a different solution within the same project. The ItemGroup XML in the MyProject.vbproj file looks like this:

<Content Include="..OtherSolutionUserControlFile.ascx">
<Link>UserControlsUserControlFile.ascx</Link>
</Content>

In the MSBuild.xml file we have, the following is being run after the solution has been built:

<MSBuild Projects="$(ProjectRootPath)MyProject.vbproj"
Targets="_CopyWebApplication;_BuiltWebOutputGroupOutput"
Properties="OutDir=$(BuildFilesPath)" />

why the shortcut is not being copied to the OutDir?

View 1 Replies

IDE :: .vbproj Is Not Supported By This Version Of Visual Studio

Apr 15, 2008

I have Visual Studio 2008.

When i try to create a new VB project (.exe or .dll - doesn't matter) or try to open an existing one, I receive the following error:

"C:Documents and Settings.....WindowsApplication1.vbproj" cannot be opened because its project type (.vbproj) is not supported by this version of Visual Studio.

To open it, please use a version that supports this type of project.

I tried un-installing Visual Studio and then re-installing again - same result.

It was working fine in the beginning. Between the last time it worked and the first time it didn't - I installed some Oracle tools, not sure if that affected anything. What's interesting - the problem is only with VB projects, C# projects can be created and opened.

View 21 Replies

Mvc - Using The Repository Pattern

Feb 23, 2011

I am using the Entity Framework with POCO's generated using the T4 Templates. I have the generated classes in a separate assembly. Ok, so a very simple example: I have a Category entity in the model which has SubCategories (1-Many with SubCategory). When I use the following code, I get The ObjectContext instance has been disposed and can no longer be used for operations that require a connection. [Code]

View 2 Replies

Best Way To Use NHibernate With The Repository Model

Mar 16, 2009

I have a repository class that defines some basic Get/Save/Delete methods. Inside these, I use NHibernate to do the work on my business entities. For example:

[code]...

However, on my User class I have some properties and collections of other objects that ideally I'd like to be lazy loaded. But of course, the ISession is created and disposed within the repository, which I guess is why, outside of that, when I try to access those properties I get a "Could not initialize proxy - no Session" error.Is my only option then to disable lazy loading when using repositories? Or is it possible (or just foolish) to somehow get the session into scope in the business layer?I do like the repository model, and NHibernate is growing on me (after lots of initial frustration trying to make it work), so what's the best way you gurus have found of using them together?

View 1 Replies

Repository - .net Code Repositories Around?

Aug 1, 2010

I was wondering if there are any good vb.net code repositories around where people share code they have written, widgets they have developed, classes developed? I hate re-inventing the wheel.

View 3 Replies

.net - VS 2010 Entity Repository Error

Jun 12, 2010

In my project I have it set up so that all the tables in the DB has the property "id" and then I have the entity objects inherit from the EntityBase class using a repository pattern. I then set the inheritance modifier for "id" property in the dbml file o/r designer to "overrides"

Public MustInherit Class EntityBase
MustOverride Property id() As Integer
End Class
Public MustInherit Class RepositoryBase(Of T As EntityBase)

[Code]...

however produces the error "Class member EntityBase.id is unmapped" when i use VS 2010 using the 4.0 framework but I never received that error with the old one.

View 1 Replies

LINQ To SQL: Fake Repository With Many-to-Many Relationships?

Aug 6, 2009

I have two tables, Clients and Administrators, which are linked in a many-to-many relationship by the table ClientAdministrators. In the real application this works fine and I can get a list of Administrators for my Client. My problem comes in trying to unit test the service class that is retrieving this from the repository. I have a FakeRepository class which implements my repository interface and I have several internal lists of objects for the service class to query against.

[Code]...

View 3 Replies

Repository Record - Dirty Columns Are Always Zero

May 29, 2009

SubSonic 2.2. I use the repository record pattern, with a table "appointment" with an appointmentId as auto-incrementing int. I am trying to update it, but when I do update the fields with something totally different, dirty columns are always zero, and I get an exception.

[Code]...

View 1 Replies

Using The BusinessObjects SDK To Interact With Objects In Its Repository?

Oct 27, 2009

The File Class has methods for sending/receiving (CopyTo and Overwrite) binary data to/from the File Repository Server (where files like Crystal Reports are stored), both of which have an overload that supports 'Binary data (safearray of VT_UI1)

View 1 Replies

Files/sub-dirs When Adding Items In A New Repository?

Mar 23, 2010

I didn't see a question on this subject in the archives, so here goes: For those of you experienced Mercurial users, is this a correct .hgignore file to tell VB.Net Express to ignore files/sub-dirs when adding items in a new repository?

[Code]...

View 1 Replies

Generic Repository With Entity Framework 4.0 Function Imports?

Feb 23, 2010

I have a generic repository that I communicate with my object context with. My object context has function imports that I want to be able to call through my generic repository. Currently I call them through an "Execute" function, but this is not ideal because I have to pass in my function name and parameters as strings which can cause run-time exceptions. My function imports map to complex types.

Is there a way to do something similar to:

Dim rep As IRepository(Of ComplexType)

Dim type As ComplexType = rep.Find(where:=Function(t) t.FunctionImport(parm, parm)).First()

Here is my generic repository as is:

[Code]...

View 1 Replies

Repository Is Nothing But Added In The Container Later (correctly) (using Unity, Repositories) In ASP.Net MVC 3?

Sep 1, 2011

I have a "MenuService", which uses an "MenuRepository".When the MenuService is created, it loads correctly with the MenuRepository.Then it wants to save it in the UnityControllerFactory, but the MenuRepository in the MenuService is Nothing then (it wasn't before).Some additional info:I'm using the Unity and Repository pattern.The problem happens with a partial view (for a menu), which i have included in the "HomeController", it could be relevant information, so i included this, just in case:

Function Menu() As ActionResult
Return PartialView("~Views/Shared/_Menu.vbhtml", _MenuService.GetAllMenuItems)
End Function

Also, my partial "menu" view is like this:

~/_Menu.vbhtml
@ModelType IEnumerable(Of FacturatieMVCv2.Domain.Slave.MenuItem)
@*<div id="myslidemenu" class="jqueryslidemenu">*@

[code]....

And i'm calling the partial view with:

@Html.Action("Menu","Home")

View 1 Replies

Office Automation :: Code Hangs When An Excel File Is Opened To A Excel Workbook Object?

Aug 3, 2009

I use the following code snippet

Dim exlapp As New Microsoft.Office.Interop.Excel.Application
Dim xlWorkBook_new As Microsoft.Office.Interop.Excel.Workbook
Dim strOriginal As String
strOriginal = Server.MapPath(Request.ApplicationPath & "/Attachments/") & "abc.xls"
xlWorkBook_new = exlapp.Workbooks.Open(strOriginal)

The code hangs in the last line. It works fine in the development environment. i deployed in windows server 2000 ,where I get this issue. the browser goes half way and throws the below exception after some time

[Code]...

I have set the identity impersonate to true in web config. This should be mostly an access rights issue.I have even provided access rights for the "everyone " user in the excel file and as well for the interop component. Please post ur valuable comments.

View 3 Replies

File I/O And Registry :: Text File Tab Delimited Import Visual Studio 2010?

Nov 28, 2010

trying to input a text file that's tab delimited that looks something like this.

2.2 5.6
3.7 9
1.2 9.1

[code].....

View 1 Replies

.net - Repository Pattern - Remove Child Elements From Multiple Parents

Nov 16, 2011

I have the following tables

Public Class Tag
<Key()> _
Public Property TagID As Integer

[Code].....

I implemented the repository pattern.

Now i have a list of Tags which contain the right TagReferences, but the tags may not be deleted, it's the TagReferences.

Variabels = ReferenceValue,ReferenceID
IEnumerable(Of Tag) = TagRepository.GetMany(Function(el) el.Reference = ReferenceValue And el.TagReferences.Any(Function(bl) bl.ReferencedID.Equals(ReferenceID)))

How can i remove all the TagReferences which contain the ReferenceID in one line?

View 1 Replies

.net - Import A Tab Delimited File Into A Table : Avoiding 'End Of File' Errors?

Nov 4, 2009

I'm trying to import a tab delimited file into a table.The issue is, SOMETIMES, the file will include an awkward record that has two "null values" and causes my program to throw a "unexpected end of file".For example, each record will have 20 fields. But the last record will have only two fields (two null values), and hence, unexpected EOF.

Currently I'm using a StreamReader. I've tried counting the lines and telling bcp to stop reading before the "phantom nulls", but StreamReader gets an incorrect count of lines due to the "phantom nulls".I've tried the following code to get rid of all bogus code (code borrowed off the net). But it just replaces the fields with empty spaces (I'd like the result of no line left behind).

Public Sub RemoveBlankRowsFromCVSFile2(ByVal filepath As String)
If filepath = DBNull.Value.ToString() Or filepath.Length = 0 Then Throw New ArgumentNullException("filepath")
If (File.Exists(filepath) = False) Then Throw New FileNotFoundException("Could not find CSV file.", filepath)

[code]....

I've tried using SSIS, but it encounters the EOF unexpected error.

View 5 Replies

File Sync Show Progress In Progress Bar Hangs?

Mar 19, 2010

I copied the code here and translate the code to vb [URL]it is working fine but there is one small problem but I cannot solve? Here is my code: SyncClientVB Another Source The scenario is... the progress is reported by an event (OnCopyingFile event)

Public Sub OnCopyingFile(ByVal sender As Object, ByVal e As CopyingFileEventArgs)
If pbFileTransfer.Value <> e.PercentCopied Then
If txtCurrentFile.Text <> e.FilePath Then
txtCurrentFile.Text = e.FilePath

[code]....

The problem is that it is ok when runned but when I click the form it starts to hang but in the console... it is still continuing.

dp.SyntaxHighlighter.ClipboardSwf = '/dp.SyntaxHighlighter/Scripts/clipboard.swf'
dp.SyntaxHighlighter.HighlightAll('6f5d1b01659646618ff3bdca29fb1b7f')

View 5 Replies

Import An .exe File And Start It?

Oct 16, 2010

Is there a way that I can Import an .exe file to my project and then start it, any time?

View 2 Replies

Import A CSV File Into A DB2 Database Using .NET?

Aug 3, 2011

I am doing a Windows application. How do I import a CSV file into DB2 database table? Through google I got one command:

IMPORT FROM 'C:Documents and SettingsMy Documentssample.csv' OF DEL MODIFIED BY COLDEL | METHOD P (1, 2, 3) MESSAGES "C:messages.txt" INSERT INTO myTable(myTable_col1,myTable_col2,myTable_col3);

But this is also not working, so is there any other command or any kind of code in .NET?

View 1 Replies







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