Git Product home page Git Product logo

microsoft / tfsdemogenerator Goto Github PK

View Code? Open in Web Editor NEW
15.0 10.0 16.0 19.44 MB

A utility to help create projects on Visual Studio Team Foundation Server with pre-populated sample content that includes source code, work items, iterations, service endpoints, build and release definitions based on a template you choose. The purpose of this system is to simplify working with the hands-on-labs, demos and other education material provided by the Microsoft Visual Studio Marketing team.

License: MIT License

tfsdemogenerator's Introduction

Team Foundation Server-Demo Generator

Team Foundation Server-Demo Generator is a tool to create Team Projects in your TFS 2017 and later versions.

Pre-requisites

  1. Windows Server 2012 and later version of OS or

  2. Windows client Windows 10 OS

  3. Download the .Zip file from here for TFS 2017

  4. Download the .Zip file from here for TFS 2018

  5. Download the .Zip file from here for Azure DevOps Server 2019

  6. Configure IIS in your machine

    iisconfigure

  7. Provide Site name

  8. Select the physical path of the folder where you extracted zip file

  9. Provide the Port number. If port 80 is already in use, provide different port number.

  10. Click OK and Browse your site.

Tool has been tested for the following OS

  1. Windows server 2016 Datacenter

  2. Windows server 2012 R2

  3. Windows 10

For more information how to configure IIS on your machine please follow the links provided below.

https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-an-aspnet-website-on-iis/configuring-step-1-install-iis-and-asp-net-modules

https://docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-8/installing-iis-8-on-windows-server-2012

tfsdemogenerator's People

Contributors

microsoft-github-policy-service[bot] avatar microsoftopensource avatar msftgits avatar sriramdasbalaji avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tfsdemogenerator's Issues

HTTP Error 500.19 - Internal Server Error

I tried to install the TFS 2018 version in a windows 10 IIS but I get the following error:

Any thoughts

Module IIS Web Core
BeginRequest
Not yet determined
0x80070021
This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default (overrideModeDefault="Deny"), or set explicitly by a location tag with overrideMode="Deny" or the legacy allowOverride="false".
\?\C:\TFSDemogen\web.config

demo_error

Error while creating teams and importing source code for PartsUnlimited

image

Error while creating teams: PartsUnlimited Team
Error while importing source code: Value cannot be null.
Parameter name: key at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at VstsDemoBuilder.Controllers.EnvironmentController.ImportSourceCode(String templatesFolder, Project model, String sourceCodeJSON, Configuration _defaultConfiguration, Configuration importSourceConfiguration, String id) in E:\Projects\TFS_DemoGen\VstsDemoBuilder\Controllers\EnvironmentController.cs:line 781

LoginFailed one or more errors occured

I have downloaded the zip file and installed it on a win 2k19 IIS. Web page is displayed, I enter the right information for my local Azure devops server as follows after creating a PAT

image

I enter the details but I get an error : LoginFailed one or more errors occured but it does not explain what are the errors
Thanks for your help
image

Source code

Hi,
very interesting project!
A question... the source code of website will be released as open source?

Thanks

Issue with connecting to TFS instance with https

I work in environment where I have 2 instances of TFS (on-premise), the first one is using http the second one https, TFSDemoGenerator is working fine with http but when I try to use https I'm having "LoginFailed: One or more errors occurred". Is there any workaround for this or simply https is not supported?

Not working with Azure Devops Server 2019

The tool fails with error message "LoginFailed: One or more errors occurred." when trying to login.

Are there any plans to provide the source code so that we can troubleshoot?

DirectoryNotFoundException thrown while while creating a project

Every time I create a Project with TFSDemoGenerator (TFS2019.zip on IIS), an error occures in Windows Event Viewer. It looks like a slash has been forgotten somewhere. Stacktrace looks like:

An unhandled exception occurred and the process was terminated.

Application ID: /LM/W3SVC/3/ROOT/generator

Process ID: 1528

Exception: System.IO.DirectoryNotFoundException

Message: Could not find a part of the path 'C:\tools\templategen\generatorTemplates\PartsUnlimited\ProjectTemplate.json'.

StackTrace: 
Server stack trace: 
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
   at VstsDemoBuilder.Controllers.EnvironmentController.CreateProjectEnvironment(Project model, String pat, String accountName) in E:\Projects\New folder\AzureDevOpsDemoGenerator\src\VstsDemoBuilder\Controllers\EnvironmentController.cs:line 1455
   at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)

Exception rethrown at [0]: 
   at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)
   at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)
   at VstsDemoBuilder.Controllers.EnvironmentController.ProcessEnvironment.EndInvoke(IAsyncResult result)
   at VstsDemoBuilder.Controllers.EnvironmentController.EndEnvironmentSetupProcess(IAsyncResult result) in E:\Projects\New folder\AzureDevOpsDemoGenerator\src\VstsDemoBuilder\Controllers\EnvironmentController.cs:line 769
   at System.Runtime.Remoting.Messaging.AsyncResult.SyncProcessMessage(IMessage msg)
   at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   at System.Threading.ThreadPoolWorkQueue.Dispatch()

I got the demo builder website build and when I tried to run the Parts Unlimited builder at the end, I got a warning. See screenshots;

Error while creating teams: PartsUnlimited Team

Error while importing source code: Value cannot be null.

Parameter name: key at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)

at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)

at VstsDemoBuilder.Controllers.EnvironmentController.ImportSourceCode(String templatesFolder, Project model, String sourceCodeJSON, Configuration _defaultConfiguration, Configuration importSourceConfiguration, String id) in E:\Projects\TFS_DemoGen\VstsDemoBuilder\Controllers\EnvironmentController.cs:line 781

image001

Error while importing source code for MyHealthClinic

image

Error while importing source code: Value cannot be null.
Parameter name: key at System.ThrowHelper.ThrowArgumentNullException(ExceptionArgument argument)
at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)
at VstsDemoBuilder.Controllers.EnvironmentController.ImportSourceCode(String templatesFolder, Project model, String sourceCodeJSON, Configuration _defaultConfiguration, Configuration importSourceConfiguration, String id) in E:\Projects\TFS_DemoGen\VstsDemoBuilder\Controllers\EnvironmentController.cs:line 781

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.