| VSTO 2005 SE Installaion issues |
|
 |
Index ‹ Visual Studio Tools for Office ‹ Visual Studio Tools for Office
|
- Previous
- 1
- 2
- Visual Studio Debugger error: Cannot obtain value
Hello,
When i am debuging my application, i can't read the values of the variables used in the application. I see only the message: "error: Cannot obtain value" as the value. How can i fix this
I use the tool visual studio 2005, vb .net and sql server 200.
os windows xp
Wouter
- 3
- 4
- Windows Presentation Foundation (WPF) Issue with frame resizing!!!
Good morning,
I'm trying to navigate throw some custom pages in my wpf application. I was checked that "AppModel/FragmentNavigationSample" in wpf samples works perfectly opening a page in a frame embedded in the main window of the application.
I copy the main window and the page to a new project created with "microsoft expressions" but, when I open the frame, the main window is resized to the content size. I think that the only difference is in the project file.
Can anyone tell me what to do to resolve this little problem
Regards,
Ruben Leal
- 5
- Windows Communication Foundation ("Indigo") data contract issue
What is wrong with the following code. When i try to access Retrive() operation the application time outs and at times it get communication error while MyOperation1() and MyOperation2() are working fine. host and clients are on the same machine.
using System;
using System.ServiceModel;
using System.Collections.Generic;
using System.Runtime.Serialization;
// A WCF service consists of a contract (defined below as IMyService, DataContract1),
// a class which implements that interface (see MyService),
// and configuration entries that specify behaviors associated with
// that implementation (see <system.serviceModel> in web.config)
[ ServiceContract()]
public interface IMyService
{
[ OperationContract]
string MyOperation1(string myValue1);
[ OperationContract]
string MyOperation2(DataContract1 dataContractValue);
[ OperationContract]
CommunicationWrapper Retrieve();
}
public class MyService : IMyService
{
public string MyOperation1(string myValue1)
{
return "Hello: " + myValue1;
}
public string MyOperation2(DataContract1 dataContractValue)
{
return "Hello: " + dataContractValue.FirstName;
}
public CommunicationWrapper Retrieve()
{
CommunicationWrapper wrapper = new CommunicationWrapper();
List<Object> objList = new List<object>();
string str;
try
{
DataContract1 dataContract = new DataContract1();
dataContract.FirstName = "Saeed";
dataContract.LastName = "Hassan";
objList.Add(dataContract);
wrapper.Bolist = objList;
} catch(Exception e)
{
str = "The method or operation is not implemented.";
}
return wrapper;
}
}
[ DataContract]
public abstract class BaseClass
{
private string primaryKey;
[ DataMember]
public string PrimaryKey
{
get { return primaryKey; }
set { primaryKey = value; }
}
}
[ DataContract]
public class DataContract1 : BaseClass
{
string firstName;
string lastName;
[ DataMember]
public string FirstName
{
get { return firstName;}
set { firstName = value;}
}
[ DataMember]
public string LastName
{
get { return lastName;}
set { lastName = value;}
}
}
[ DataContractAttribute]
public class CommunicationWrapper
{
private List<object> bolist;
[ DataMember]
public List<object> Bolist
{
get { return bolist; }
set { bolist = value; }
}
public List<object> GetBOList()
{
return Bolist;
}
public void SetBOList(List<object> value )
{
Bolist = value;
}
}
- 6
- 7
- Visual Studio Extensibility Code Generation Conference, May 2007, Cambridge, UK
The Code Generation Network is organizing a new conference themed around Code Generation tools and technologies to take place in Cambridge, UK from 18th May - 20th May 2007.
We're looking for session proposals from people who have experience applying DSLs, and can lead a session on this subject for a developer audience. Accepted session leaders will have their conference fees waived.
There's more information at the Code Generation 2007 web site. It's straightforward to submit a session proposal, but the submission deadline is Friday January 12th 2007.
Microsoft are sponsoring the event and I expect the DSL team to participate, so it will also be a great opportunity to talk about the tools with the experts.
- 8
- Visual Studio Guidance Automation Toolkit Installing Visual Studio 2005 Service Pack 1 (XP edition) breaks GAT
I've just installed Visual Studio 2005 Service Pack 1 (XP edition) and now when I try to register or unregister a GAT package (for example ASMX Guidance Package) I get the following error:
System.TypeLoadException: EnvDTE.Project, EnvDTE ---> System.IO.FileNotFoundException: Couldn't find assembly EnvDTE.
I guess because the service pack has installed a new version of EnvDTE.
Any advice anyone
Here's the full stack trace:
System.TypeLoadException: EnvDTE.Project, EnvDTE ---> System.IO.FileNotFoundException: Couldn't find assembly EnvDTE. at Microsoft.Practices.Common.Services.TypeResolutionService.GetAssembly(AssemblyName assemblyName, Boolean throwOnError) at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) --- End of inner exception stack trace --- at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at Microsoft.Practices.Common.Services.AliasResolutionService.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at Microsoft.Practices.Common.Services.TypeResolutionService.GetType(String typeName, Boolean throwOnError) at Microsoft.Practices.RecipeFramework.GuidancePackage.EnsureInitializeMetadataForCurrentRecipe() at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(String recipe, IAssetReference reference, IDictionary arguments) at Microsoft.Practices.RecipeFramework.GuidancePackage.Execute(IAssetReference reference) at Microsoft.Practices.RecipeFramework.RecipeReference.OnExecute() at Microsoft.Practices.RecipeFramework.AssetReference.Execute() at Microsoft.Practices.RecipeFramework.VisualStudio.RecipeMenuCommand.OnExec() at Microsoft.Practices.RecipeFramework.VisualStudio.AssetMenuCommand.Invoke()
- 9
- Windows Presentation Foundation (WPF) Possible to make an animated Sprite using WPF?
I'm trying to decide what might be the best way to cycle through a series of individual images or frames to give the impression of animation - similar to how an animated gif file works.
I have yet to find a single example of this kind of keyframe animation within WPF. There are probably various ways one could acheive this but I wondered if anyone could point me to an existing example using either XAML or code.
I'm currently thinking along the lines of finding a way to change the ImageSource of an ImageBrush at regular intervals - but is there a better way
- 10
- Windows Presentation Foundation (WPF) Media Element Formats and Player
My question relates to the video format and media player in WPF. In previous frameworks, while mostly used, Direct3D was used to play videos in specific formats such as AVI or WMV. While this may work in the new framework, it is under my impression that the WPF Media element only works with WMV. Plus, in order to play the media element itself the user must have windows media player installed in order to play (version 10 or 11). When I have used the Media element it only sometimes works while loading wmv files without any other codecs necessary. Is this an issue with WPF in general, or am I have I missed something here
- Thomas
- 11
- Customer Care Framework Error in Agent desktop
Hi,
I have launched the Agent desktop...If i select the customer from lookup table it shows the following
error...Please anyone help me
12/20/2006 2:36:21 PM: Customer Care Framework 2005 - Agent Desktop: Information: Starting... Customer Care
Framework 2005 - Agent Desktop 12/20/2006 2:54:41 PM: Customer Care Framework 2005 - Agent Desktop: Error: Failed to connect to the web server. Please verify that you can connect to the web server.The underlying connection was closed: The remote name could not be resolved.
\n\nStack:\n at Microsoft.Ccf.Csr.Sessions.SetActiveSession(Guid sessionID) at Microsoft.Ccf.Csr.Sessions.AddSession(String name, Int32 callID, Object customer) at Microsoft.Ccf.Samples.Csr.AgentDesktop.Desktop.AddSession(CustomerRecord customer, CallClassProvider call) 12/20/2006 2:54:42 PM: Customer Care Framework 2005 - Agent Desktop: Error: An error has occurred while clicking the toolbar button.
Specified argument was out of the range of valid values. Parameter name: '1' is not a valid value for 'index'.\n\nStack:\n at
System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at Microsoft.Ccf.Samples.WorkFlowControl.WorkFlowControl.StartWorkflowByIndex(Int32 index) at Microsoft.Ccf.Samples.Csr.AgentDesktop.Desktop.doLookupCommand() at Microsoft.Ccf.Samples.Csr.AgentDesktop.Desktop.toolBar_ButtonClick(Object sender, ToolBarButtonClickEventArgs e)
- 12
- Windows Presentation Foundation (WPF) Another question about localizationHi,
Is there a way to change culture on the fly so that all the UI elements would be updated accordingly I tried modifying Thread.CurrentThread.CurrentCulture and Thread.CurrentThread.CurrentUICulture, but it does not have any effect once the UI is displayed (as opposed to including this code in the application constructor).
And another question, does WPF change the flow direction automatically according to the set culture or should I set it manually for each Window/Page I tried setting the current culture to arabic, but that didn't effect the flow direction. Are there more settings to tweak
Many thanks in advance.
- 13
- Windows Presentation Foundation (WPF) ElementHost = can’t use embeded resources !?
Hi,
I found that if you use an ElementHost on a Win form to host a xaml aplication you will not be able to use embeded resources.
This is because the only way that WPF embed's a resource on to an .exe or .dll is by defining a <resource/> on the "app.xaml" page.
So when you use an ElementHost that merely shows a simple WPF form with some images or whatever, the only way to access resources is by accessing them thru siteoforigin URI e.g "pack://siteoforigin:,,,/XamlResources". This means you have to create a folder on your aplication to store all your resources. In my case that's bad :(.
Anyone with the same problem
- 14
- Developer Documentation and Help System Problems building using December CTP
Hi
Ive been happily using August CTP (been too busy to upgrade!) with no problems, I tried December CTP but have problems with documenting several assemblies because they result in a command that must breach the 260 characters path limit, but I dont get this issue with the August CTP.
I'm not too familiar with exactly what happens during the whole documenting process yet but I'm including a snippet from the log file from both CTPs in the hope that someone might spot something which may help me out.
From August CTP doc build (works fine):
Info: Building topic P:Exchange.EnterpriseLibrary.Caching.Configuration.CustomCacheStorageData.Properties Info: Building topic M:Exchange.EnterpriseLibrary.Caching.Configuration.CustomCacheStorageData.Reset(System.Configuration.ConfigurationElement) Info: Building topic M:Exchange.EnterpriseLibrary.Caching.Configuration.CustomCacheStorageData.SetAttributeValue(System.String,System.String) Info: Building topic M:Exchange.EnterpriseLibrary.Caching.Configuration.CustomCacheStorageData.Unmerge(System.Configuration.ConfigurationElement,System.Configuration.ConfigurationElement,System.Configuration.ConfigurationSaveMode)
The same section when I use Dec CTP:
Info: BuildAssembler: Building topic T:Exchange.EnterpriseLibrary.Caching.Configuration.CustomCacheStorageData Info: BuildAssembler: Building topic Overload:Exchange.EnterpriseLibrary.Caching.Configuration.CustomCacheStorageData.#ctor Info: BuildAssembler: Building topic M:Exchange.EnterpriseLibrary.Caching.Configuration.CustomCacheStorageData.#ctor Info: BuildAssembler: Building topic M:Exchange.EnterpriseLibrary.Caching.Configuration.CustomCacheStorageData.#ctor(System.String,System.Type) Info: BuildAssembler: Building topic P:Exchange.EnterpriseLibrary.Caching.Configuration.CustomCacheStorageData.Attributes Info: BuildAssembler: Building topic M:Exchange.EnterpriseLibrary.Caching.Configuration.CustomCacheStorageData.Exchange#EnterpriseLibrary#Common#Configuration#IHelperAssistedCustomConfigurationData{Exchange#EnterpriseLibrary#Caching#Configuration#CustomCacheStorageData}#BaseGetPropertyValue(System.Configuration.ConfigurationProperty)
Unhandled Exception: System.IO.PathTooLongException: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
As you can see, the bit in red is more than 260 characters hence the error, there is no path information here so I cant truncate it in any way by reducing the path on disk.
I would also like to be able to try the November CTP to see if I get the same issue, but I cant find a link to previous CTP's anywhere, can anyone provide me with this also
- 15
- Windows Communication Foundation ("Indigo") ChannelFactory.Close() vs ChannelFactory.BeginClose()
We're building a web application that is using an application server via WCF web services. The web server is placed in a temporary DMZ with its own rather slow broadband connection serving traffic from the internet, while the application server is to be placed in our ordinary network behind our ordinary firewall. In other words, connections between the two servers will go through the internet with all the trouble that may cause. In about a year or so we will establish a proper DMZ to obtain a more stable and fast connection.
We have chosen to use the generic ChannelFactory class in stead of building client proxies, as this seems to be a more maintainable approach in this case.
When debugging, we have noticed that the ChannelFactory.Close() sometimes takes a little time. Some bright head came up with the idea to use the async approach in stead, by calling ChannelFactory.BeginClose(null, null), which means we initiate a close and do not wait or handle the callback by provide a delegate.
This seems to work out fine in our small test environment. My question is whether this approach is at all advisable, or might cause problems in a production environment with much heavier load.
Thanx in advance for any advice on this!
:) Helge K
|
| Author |
Message |
NemanjaTheLost

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
hi,
i'm having problems with the installation of the vsto. i run the vsto 2005 se installation package and the PIA install for office 2003 but when i try to run code samples i get the following error:
Error: The operation could not be completed. No such interface supported
this also happens when i try and build my soulution. am i doing something wrong or are there any known conflicts with vsto and other .net components
Visual Studio Tools for Office4
|
| |
|
| |
 |
Christin-MSFT

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
Which "edition" of Office 2003 do you have Standard or Professional VSTO requires Office 2003 Professional because of certain interfaces that are not included in the Standard version.
Office 2007 includes all of the necessary interfaces in all editions, including standard, Home and Student.
|
| |
|
| |
 |
gjattili

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
I am experiencing the same problem. I do have the following
Office Professional 2003 SP2
VSTO 2005 SE
Visual Studio 2005 Professional Edition.
|
| |
|
| |
 |
Christin-MSFT

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
I would like to help you, but I need a lot more information. What type of project did you create Are you making a Document solution or an Application Addin What is your code trying to do
|
| |
|
| |
 |
gjattili

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
My apologies. After installing VSTO 2005 SE, I pulled down Outlook Hands-on Labs:
http://www.microsoft.com/downloads/details.aspx familyid=5e327935-bad0-4329-ab40-99ac85516bcf&displaylang=en
When I try to load the HandsOnLab.Lab1.csproj into Visual Studio, I get the error:
"THE OPERATION COULD NOT BE COMPLETED; NO SUCH INTERFACE"
In fact I get this for any of the projects I try to load under HANDOUTS.
The requirements as stated on the download page are:
Supported Operating Systems: Windows 2000 Professional Edition ; Windows Server 2003; Windows XP
- Microsoft Visual Studio 2005
- Microsoft Visual Studio 2005 Tools for the Microsoft Office System (included with Visual Studio 2005)
- Microsoft Office Professional 2003 SP1 or SP2
or
- Microsoft Office Outlook 2003 SP1 or SP2
I am running VS 2005 Professional, VSTO 2005 SE and Office Outlook 2003 SP2 whcih satisfy these requirements.
After downloading I look at the readme.rtf that came with the Hands On Labs and it states:
The following products must be successfully installed before you can install, build and take the tutorials. The Setup program does not check for any prerequisites so please make sure that all of the following items have been correctly installed before you install the tutorials:
· Microsoft Visual Studio 2005
· Microsoft Office 2003 Service Pack 1 (specifically, Microsoft Office OutlookR 2003 SP1).
· Microsoft Visual Studio 2005 Tools for the Microsoft Office System
I specifically mentions Outlook 2003 and SP1 but I was hoping that the readme was just out of date and written before the advent or SP2.
Regardless, being a VSTO beginner the hands on labs would prove most valuable. I simply want to be able to use them. Any clues
Thanks,
|
| |
|
| |
 |
gjattili

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
From cruising around a little more in this news group, I was able to determine that my problem was that I had loaded VSTO 2005 SE on top of VS 2005 Professional which when having done so only installs the application-level features of VSTO. I went back and installed the full version of VSTO for Microsoft Office and all is well.
Thanks for your time and help.
|
| |
|
| |
 |
Maui Coder

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
Christin-MSFT wrote: | |
Which "edition" of Office 2003 do you have Standard or Professional VSTO requires Office 2003 Professional because of certain interfaces that are not included in the Standard version.
Office 2007 includes all of the necessary interfaces in all editions, including standard, Home and Student.
|
|
I am having a similar installation issue. I have Office 2003 Small Business Edition SP2, and VSTO complains that Office 2003 SP1 is not installed. Does your post mean that I cannot install VSTO without upgrading to Office 2007
|
| |
|
| |
 |
Christin-MSFT

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
That depends on which version of VSTO you're trying to install. Please give a full description of the version(s) of VS and version(s) of Office.
|
| |
|
| |
 |
SWDEVMaui

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
I am using Office 2003 Small Business Edition, which I removed and re-installed using the Full Installation, and then applied SP1 only. My VSTO is 2005, which was just purchased (from Microsoft). It is an upgrade version, as I have Borland c++ Builder. Beyond that, I don't know the version - setup fails before much of anything happens.
PS I am the same person as MauiCoder
|
| |
|
| |
 |
Christin-MSFT

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
VSTO has very specific requirements because some importaint DLLs were not shipped in the Small Business Edition. From the VSTO web page, you can see the editions of Office 2003 that are supported:
Developing and running Office customizations built with Visual StudioR 2005 Tools for Office requires at least one of the following versions of Microsoft Office: ? Microsoft Office 2003, Professional Edition ? Microsoft Office 2003, Professional Edition with InfoPath ? Microsoft Word 2003* ? Microsoft Excel 2003* ? Microsoft InfoPath 2003* ? Microsoft Outlook 2003*
*Requires the individually-packaged version (standalone version) of the product
http://msdn2.microsoft.com/en-us/vstudio/aa718674.aspx
|
| |
|
| |
 |
AndrewJones123543

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
I think you have actually shown the requirements for VSTO rather than VSTO SE. If you look at http://msdn2.microsoft.com/en-us/library//2ac08ee2(vs.80).aspx it appears to show that VSTO SE can be installed on Microsoft Office Standard Edition 2003 as well as the products shown in your post.
Please can you confirm that VSTO SE will install on Office 2003 Standard.
I've just wasted two whole days trying to get an Excel app running in our office. It works fine on my development machines but I cannot get it to run on any of the normal user machines. The only difference I can see is that the normal office machines are Office 2003 standard but my development machine is Office Professional. However the page linked above seems to indicate VSTO SE should work on office standard.
Regards
Andrew
|
| |
|
| |
 |
Christin-MSFT

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
Andrew - The article you referenced is talking about deploying to a client machine which would run the solution, not about the prerequisites for a Developer machine that would run the Visual Studio tools.
The prerequisites for installing VSTO 2005 SE are exactly what I listed before, and you cannot use Office Standard Edition with VSTO 2005 SE.
|
| |
|
| |
 |
suneelpotluri

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
Hi I'm sunil, doing my final sem MCA project. I'm developing a addin for outlook. I'm very much new to .net environment, but have a little bit idea of VS6.0. Can you please let me know how can I get VSTO software, so that i can continue my project.
Thank you Sunil
|
| |
|
| |
 |
Amol Gholap

|
Posted: Visual Studio Tools for Office, VSTO 2005 SE Installaion issues |
Top |
Hi Christin,
I have gone through the post but i am not still clear about the following,
1. Can i deploy the VSTO 2005 ( not VSTO SE) solutions on my client machin who is having
Microsoft Office Standard Edition 2003 installed
2. What do i need to do in order to install VSTO solution on Microsoft Office Standard Edition 2003
i.e Do i need to use VSTO SE
Any help will be appreciated.
Thanks,
Amol Gholap
|
| |
|
| |
 |
| |
 |
Index ‹ Visual Studio Tools for Office ‹ Visual Studio Tools for Office |
- Next
- 1
- Visual Studio Tools for Office Word: Add picture (VSTO2005)
Hi,
I would
like to display a picture in the Word document which I download from a remote
server. So fare, there is no problem. I can just download the picture, store it
on the client machine and display it with the following command:
range.InlineShapes.AddPicture("C:/picture.gif",ref missing, ref saveWithDocument,
ref missing);
Question: Is it possible to add a picture to the document without having to
save the downloaded picture
I tried this… but it didn’t work of course:
range.InlineShapes.AddPicture("http://www.mysite.com/picture.gif",ref missing, ref saveWithDocument,
ref missing);
Thanks, Claudia
- 2
- Visual Studio Extensibility Problem in OAProject.Properties
Hi
I'm using the MPF with my specific VS projects but I got an error while acessing their properties (i'm using September SDK). In the OAProject property,
public virtual EnvDTE.Properties Properties
{
get
{
object outputProperties = null;
IVsExtensibility3 vsExtensibility3 = this.project.GetService(typeof(IVsExtensibility)) as IVsExtensibility3;
vsExtensibility3.GetProperties( this, this.project.NodeProperties, out outputProperties);
return (EnvDTE.Properties)outputProperties;
}
}
I always get an error 'Attempted to read or write protected memory' in the GetProperties call.
However, if I change the code to an implementation similar to OAProjectItem
...
if (this.project.NodeProperties == null)
{
return null;
}
return new OAProperties(this.project.NodeProperties);
it seems to work fine... What is the problem and the need for the former implementation
thanks
- 3
- 4
- 5
- Windows Presentation Foundation (WPF) Emboss effect
Can anybody help me with EmbossBitmapEffect
After export XAML from GD some Paths with embossing convert to png, and emboss live many Paths.
"In XAML" I found EmbossBitmapEffect but can create cool emboosing :((
Can you give me some samples of EmbossBitmapEffect
Thx
- 6
- ADO.NET (Pre-release) Performance when using with WCF
When I use the entities within a WCF muti-tier service, the performance is terrible. I am guessing that it is trying to search for the WCF transaction I have not specified any WCF transactions, and am using basic http binding.
The performance is so bad that the WCF service is timeouting even when i set the timeout to about 1 min. Has anyone out there used entities in a WCF service
- 7
- Windows Presentation Foundation (WPF) How do I change the layout of an ItemsControlI know a way to change the layout of the ItemsControl using ControlTemplate from the post
"How do I change the layout of an ItemsControl"
The post introduce tow way to achieve it:
1 <ListBox ItemsSource="{Binding Source={StaticResource xmlData}}" (...) > <ListBox.ItemsPanel> <StackPanel Orientation="Horizontal" /> </ListBox.ItemsPanel> </ListBox>
2
<ControlTemplate x:Key="listBoxTemplate"> <Border BorderBrush="Orange" BorderThickness="2" Margin="10,0,10,10"> <StackPanel Orientation="Horizontal" IsItemsHost="True" /> </Border> </ControlTemplate>
But first sample only run on CTP version.
And i want to know how to do it in version 3.0
could anyone help me thanks
- 8
- Windows Presentation Foundation (WPF) how to convert binary of a 3D xaml resource, to make the program light weigh
Hi,
I have a really complex 3d object with me, and is of around 3000 lines of xaml....when i program wityh this objet in ide, it just fails to load, / makes the IDE slow.
Now, the thing is i could have kept it as a resource but still the resource file would m,easure around 8 mb in size....
can we make this whole thing really light by converting the whole 3d xaml piece in to some binay format like .bin (they use somewhat like this in Computer games likes NFS).
thanks and regards
brij
- 9
- Visual Studio MSBuild How to tweak the OutputPath on a Visual Studio .NEt 2005 solutionHello.
I know that this kind of question has already lead to much writing on this forum. I've been digging, with no luck. I explain my need.
Context and requirements
I am compiling a MS Visual Studio .NET 2005 solution on the command line via a 'msbuild.exe' call. This solution contains several C# projects, with a dependancy graph.
By default, each project output path is set via the MSBuild 'OutputPath' property, defined with the value 'bin\$(ConfigurationName)', which imposes the output artifacts to be created related to the Visual Studio C# project location on the hard disk, in the directory 'bin\Release' related to the directory containing as a child the project, in release mode.
What I need, is to set this 'OutputPath' directory on another location, dependant on the Visual Studio C# project being compiled. Let's take an concrete example.
Example
If I have two C# projects in my solution named A.csproj and B.csproj with the following folder location:
- C:\TEST\APath\Solution.sln
- C:\TEST\APath1\A\A.csproj
- C:\TEST\APath2\B\B.csproj
I'd like the artifacts to be set in:
- C:\TEMP\AnotherPath\APath1\A\A\bin\$(ConfigurationName)
- C:\TEMP\AnotherPath\APath2\B\B\bin\$(ConfigurationName)
I'd like this to be applicable as an option, that is to say that I'd like both the default output paths to be applied if I want, and this specific output path to be applied when I need.
Constraints
- I want to discard MSBuild post-build event copy tasks, because the default location filesystem 'C:\TEST' is very slow, and this is exactly the reason why I want to change the artifcats output directory path.
- I need all the VS 2005 .NET C# projects post-build and pre-build targets to be able to keep on using the 'OutputPath' property with the overriden value.
Statement
Since MSBuild mechanism first evaluate the 'OutputPath' property, and that many properties (like the 'OutDir', 'BaseIntermediateOutputPath', 'TargetDir' properties) depend on its value, and that they are evaluated once for all before any target execution (which would enable to override the 'OutputPath' property), I cannot write a pre-build target that would override this property and be evaluated after the 'PropertyGroup' 'OutputPath' and before all the previously mentionned depending properties be evaluated.
If my requirements are not clear, I'm very ready to explain back another way. If someone is able to propose a solution, this would save my month! Thank you for your time and attention. I'm quite confident that MSBuild can achieve this ;->
Edouard
- 10
- 11
- Visual Studio Report Controls My query works in query analyser but freezes when i preview a reportHi guys/girls
I've got a problem with RS2000, i've generated a report, but my code freezes in RS2000 although when i run my code in Query Analyser then it works fine.
What i am trying to do is add the previous months data to the current month. when i run the query it works, but when i preview my report it just inserts the first value for all the rows
Anyway here is the code, if someone knows how to simplify it for me then please, i would be greatful or perhaps offer an alternative solution:
-- Create Table that will hold the values for the running total declare @MyTable TABLE (UID INT IDENTITY(1,1), CurrentMonth VARCHAR(20), GPYTDValue FLOAT, RunningValueGP FLOAT) INSERT INTO @MyTable (CurrentMonth, GPYTDValue)
SELECT dt.[month_name], (sum(ft.price)- sum(ft.cost)) as turnover2005 FROM dim_time dt, fact_transaction ft, dim_Client dc WHERE dt.time_key = ft.time_key AND dt.[year] IN (2005) AND dc.client_name like '%medicare%' GROUP BY dt.[year], dt.[Month], dt.[Month_Name] ORDER BY dt.[Year], dt.[month], dt.[month_name],sum(ft.cost)
UPDATE @MyTable SET RunningValueGP = GPYTDValue WHERE UID = 1
DECLARE @iStart INT DECLARE @iEnd INT
DECLARE @RunningTotalGP FLOAT
SELECT @iStart = MIN(UID) FROM @MyTable SELECT @iEnd = MAX(UID) FROM @MyTable
SELECT @RunningTotalGP = RunningValueGP FROM @MyTable WHERE UID = @iStart
SELECT @iStart = @iStart + 1
WHILE (@iStart <= @iEnd) BEGIN SELECT @RunningTotalGP = @RunningTotalGP + GPYTDValue FROM @MyTable WHERE UID = @iStart UPDATE @MyTable SET RunningValueGP = @RunningTotalGP WHERE UID = @iStart SELECT @iStart = @iStart + 1 END
SELECT * FROM @MyTable
Kind Regards
- 12
- Crystal Reports for Visual Studio Export data from crystal Report 8 to excelI am trying to Export the Crystal report data using RDC using CR 8.0. The report hold around 70 to 80 fields in it. here the data is transfer in rhandom format. i have atted the excel sheet for the eg. Is there any setting need to be done to set up data or any restictions are ther for no of fileds to export please help me.
- 13
- Visual Studio Extensibility EnvDTE Visual Studio 8 (2005) -> Error _COMPlusExceptionCode = -532459699
Hi All,
I am getting the error : "The File xyz.odx is not open".
The scenario is I have added the file into the solution project using code below
project.ProjectItems.AddFromFileCopy("C:\xyz.odx"); //No error. works fine
Next, I am trying to access the xyz.odx file for editing some properties of the orchestration file using code below
ProjectItem workflow=project.ProjectItems.Item("xyz.odx");
workflow.Open(EnvDTE.Constants.vsViewKindDesigner); //Get error either here or next line
Document workflowDoc=workflow.Document; //Error observed.
EnvDTE is the latest version 8.0.0.0.
I get a COMPlus exception code: Error _COMPlusExceptionCode = -532459699
This code used to work fine in .Net 1.1 + VS2003 + BT 2004. Now the environment has been upgraded to .Net 2.0 + VS2005 + BT2006. Any idea why it fails
Please reply back if any additional info is needed.
Regards
Sujit
- 14
- 15
|
|
|